I have a small query. I have a website with login, I am allowing the user to be logged in only once. I took help of StackoverFlow to achieve that. Refer this: stackoverflow link
Here's the brief about it: When a user logs in I am adding a value to a session variable and application variable. And when user tries to loggin in again I check the session as well as Application variables and if it does not exists then I am allowing user to login. This is working perfectly fine in chrome but gives some issues in Firefox and IE. In Chrome I could still get the saved session variable even if browser is closed and opened again. But in case of IE and firefox I cannot do that. My session variable goes blank when user closes the browser and opens again.
How do I save my session variables even after user closes the browser? Does it have something to do with sessionState
?