Welcome Guest, Not a member yet? Register   Sign In
Session driver: cookie vs native
#1

[eluser]gdweb[/eluser]
In CI 3 we can choose between cookie and native.
What are the advantage and disadvantage? When to use cookie, when to use native?
#2

[eluser]InsiteFX[/eluser]
It really depends on the amount of data that you need to store. Cookies can only hold 4k of data whereas the database sessions can store unlimited amount of data.
#3

[eluser]ivantcholakov[/eluser]
@gdweb

Switch to the native driver without hesitation.
#4

[eluser]jonez[/eluser]
[quote author="ivantcholakov" date="1389884003"]@gdweb

Switch to the native driver without hesitation.[/quote]
This.




Theme © iAndrew 2016 - Forum software by © MyBB