Anonymous user times out

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
crash
User
Posts: 148

Anonymous user times out

Post by crash »

I have a page generated by ASPM set to anonymous in the security settings, no need to login, this info is public.
This page times out and then goes to the login page.

How do I prevent this from happening?
Thanks


MichaelG
User
Posts: 1095

Post by MichaelG »

You can clear the timeout time if the user is not logged in the Page_Loading server event. For example:

if (!IsLoggedIn())
Config.SessionTimeout = 0;


Post Reply