Welcome Guest, Not a member yet? Register   Sign In
Anyone using the session library just for the flashdata?
#11

[eluser]WanWizard[/eluser]
[quote author="nuwanda" date="1275968015"]Yes, if setting the CI session duration to 0 killed the session on browser close, it would be perfect.[/quote]
There have been numerous posts about how to archieve this.
#12

[eluser]n0xie[/eluser]
[quote author="skunkbad" date="1275951183"]
Why try to improve something that works perfectly?[/quote]
Let's see you keep sessions on load balancers without sticky sessions.
#13

[eluser]WanWizard[/eluser]
Brrr... Stickies...

Tried to get that working once with mod_proxy. No happy memories there... Sad

Less of a problem with the current hardware, but still something I'd like to avoid. Stickiness shouldn't be needed for the web tier.
#14

[eluser]skunkbad[/eluser]
Yes, I would have to resort to hardware or sticky sessions with mod_proxy. I still prefer $_SESSION.

I think the primary reason why I prefer $_SESSION is the availability of the $_SESSION data, which is different than cookie data (which is what CI sessions are). There are times when I need to get session data for use in a script, but if it is in the cookie it is not available. You might say something similar about $_SESSION, and there's always some way to handle the situation, but for me $_SESSION usage is too easy.




Theme © iAndrew 2016 - Forum software by © MyBB