Hello,
I was wondering is anyone persisting the web session for an extended period of time? The idea for us is to not have the user relogin all the time when visiting our mobile site. I was thinking of persisting the cookie longer and checking on the back to see if I need to transerfer to a new session.
Has anyone done something similar or have any thoughts on this?
Thanks,
Jon
I don't see any problem with this. We've got cookies that last a very, very long time (Took a glance and mine expires in 2016), and it's working great.
One thing you might run into is that if the cookie connects to state held in the session, and you do a deploy or a reboot of your server, the cookie will no longer connect to any of that data. What this meant on our server was that the session key itself was inaccessible; transferring the session at that point isn't possible. This isn't a tremendous problem, just that users might end up having to log in more often than expected.
Eric