Welcome Guest, Not a member yet? Register   Sign In
Adding data to a session
#2

[eluser]WanWizard[/eluser]
Check the manual, the parameters of the set_userdata() method are described in there.

The limit depends on what you use for storage. Session variables are stored as a serialized array. If you use cookies, the max. size is 4Kb. For database storage, it depends on the definition of the 'session_data' field (in MySQL, a 'text' field can hold 2^16 bytes). For Native sessions, it depends on the amount of disk space you have available...


Messages In This Thread
Adding data to a session - by El Forum - 06-21-2010, 01:43 AM
Adding data to a session - by El Forum - 06-21-2010, 02:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB