Welcome Guest, Not a member yet? Register   Sign In
Sessions
#2

[eluser]pistolPete[/eluser]
Your explanation of the database use is correct, but the second one is not:
CI does not use native PHP sessions, so using only a cookie means that all of the data is put in the cookie instead of a serverside storage.

The use of the database is probably slower, but you could store more data than in the cookie.

Do you have to use sesssions at all for the search form? Isn't it possible to put the search terms in the URI?


Messages In This Thread
Sessions - by El Forum - 02-23-2009, 10:17 AM
Sessions - by El Forum - 02-23-2009, 10:29 AM
Sessions - by El Forum - 02-23-2009, 11:01 AM
Sessions - by El Forum - 02-23-2009, 11:06 AM
Sessions - by El Forum - 02-23-2009, 11:18 AM
Sessions - by El Forum - 02-23-2009, 11:55 AM
Sessions - by El Forum - 02-23-2009, 12:27 PM
Sessions - by El Forum - 02-23-2009, 01:07 PM
Sessions - by El Forum - 02-23-2009, 01:19 PM
Sessions - by El Forum - 02-23-2009, 01:57 PM
Sessions - by El Forum - 02-24-2009, 04:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB