Welcome Guest, Not a member yet? Register   Sign In
Share same session in multiple browsers
#1

[eluser]Unknown[/eluser]
Hello! I wonder how the session to work on multiple browsers. If the user login in Firefox, and then within the session time access Internet Explorer, keep logged on.

Is this possible?

Thanks a lot!
#2

[eluser]WanWizard[/eluser]
It is not possible to reuse the same session. Sessions are linked to an encrypted random session ID, that is stored in a cookie. Cookies are browser specific.

You could code your app so that information that needs to be shared isn't stored in the session record, but in the user record, and make some kind of remember me function that automatically logs the user in. You can store that in a separate cookie with it's own expiration.
#3

[eluser]Unknown[/eluser]
OK, Thanks a lot!




Theme © iAndrew 2016 - Forum software by © MyBB