mvc - how to avoid log out when refresh a page

Posted by user235973457 on Stack Overflow See other posts from Stack Overflow or by user235973457
Published on 2014-05-28T09:17:38Z Indexed on 2014/05/28 9:25 UTC
Read the original article Hit count: 133

I have built the MVC application with WCF service. The major problem I have experienced with refreshing page.

I have created a login page with session (username and password). But when you refresh the home page by pressing F5, it would automatically log out.

That is my problem. I need to stay the home page after refresh. I have been googling around to find a solution but it seems not helpful.

Any idea? Your advise or code example much appreciated.

© Stack Overflow or respective owner

Related posts about AJAX

Related posts about wcf