not redirecting to login page while using forms authentication

P

Pradeep Pise

Hello All,

I have a problem in my project. I have used forms authentication and code is embedded in web.config.
<authentication mode="Forms">

<forms name="AuthCookie" path="/" loginUrl="login.aspx" protection="All? timeout="120? >

</forms>

</authentication>

If I am trying to check for the session timeout. Coockie\s get disabled and session is timed out( detected because i am not able to access the session variables- values are lost) but the user is not redirected to the login.aspx.

While it's working perfect if you create a new project.

Can anyone suggest the workaround.

thanks

Pradeep
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top