开发者

Ruby On Rails session storage problem

开发者 https://www.devze.com 2023-03-06 16:48 出处:网络
Im creating a sample RUBY ON RAILS APP and storing sessions in DB The table structure is id:pk,autoincrement

Im creating a sample RUBY ON RAILS APP and storing sessions in DB

The table structure is id:pk,autoincrement

session_id:varchar 256

data:longtext

When i click save i get following error:

"Your session data is larger than the data column in which it is to be stored. You must increase th开发者_运维百科e size of your data column if you intend to store large data."


Your question itself has the answer. Just increase the size of data:longtext which is data column

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号