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
精彩评论