Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI,in web.config i have authentication mode="forms" timeout="1" loginurl="login.aspx" (problem is i am not redirecting to login.aspx after 1 min but data is clearing)


i want to redirect to the login.aspx plz..........

thanks in advance
Posted
Updated 26-Jul-14 5:25am
v2
Comments
I guess the login page URL you specified in config is not correct. Can you please post that portion of web config.
ZurdoDev 26-Jul-14 11:07am    
What do you mean redirect? And after 1 minute it won't timeout because you have timeout = 10. I am very confused as to what you are saying.
yedhuvamshi 26-Jul-14 11:25am    
Sry ,the timme out is 1
ZurdoDev 27-Jul-14 13:54pm    
1. Please reply to comment so that the user is notified.
2. It sounds like you want the page to automatically redirect when it timesout? If so, that does not work. The client is not consistently connected so their authentication will timeout on the server and the next time they try to access a page they will then, at that point, be redirected to login.aspx. It won't happen automatically.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900