I have a question regarding Sessions and Logins.
I currently developing a website in ASP.NET. I want the website to refresh every x seconds.
The thing is that the site uses Authentication.
So the first the user login and then the autorefresh occurs after x seconds. I am thinking of just writing a Cookie indicating that the user is logged in and setting the cookie expiration to maybe 10 minutes.
My question is when does the cookie expire? When the browser closes? Because if the it expires after then minutes while the user is logged on then this solution is not good - because the user has to login again after 10 minutes.
Might be a silly question...
Thanks guys.