Hi:
My records in the sessions DB seem strange.id 7032f2c7f5a2c721a483dc75fc29595e a_session $D = {'_SESSION_ID' => '7032f2c7f5a2c721a483dc75fc...
The id field contains the SID while the second field is a mystery to me.
Some record contain names and/or expiration while others are like the one above with partial SID. It has ... following the data which implied more to follow but I cant see or find anymore.
Even the last record posted/updated did not contain the updated information that was put in the $session before flush().
Expiration appears in cookie fine but not in database record.
In the cpan documentation on session table it says two records minimum required. id and a_session, id being 32 characters and a_session a text field of undetermined length. Is that text where all the added/updated params are supposed to be?
Name Type Collation Attributes Null Default Extr +a Action 1 id varchar(32) latin1_swedish_ci No +Change Change Drop Drop Primary Primary Unique Unique Index Index Spatial Spatial More 2 a_session text latin1_swedish_ci No None + Change Change Drop Drop Primary Primary Unique Unique Index Index Spatial Spatial More
My experience with DB requires set field length.
MySQL says BLOB, TEXT L + 2 bytes, where L < 2^16 (64 Kilobytes)
So do you set a size or it just floats?
In reply to MySQL Session database record by tultalk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |