Click here to Skip to main content
15,888,177 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my asp.net website, after login into my site, i left the site idle for 20 minutes, automatically the session expires and it shows some unrelated pop-up for login details. after enter some login details it redirects to the error page and also if i click on cancel button of that pop-up then also it is redirects to error page. After that if i enter the site url in the browser it displaying error page only.

Anybody please give the solution for avoiding error page.
Posted
Updated 31-Aug-13 0:47am
v2
Comments
[no name] 31-Aug-13 6:55am    
Okay so how is a popup for login information for your website "unrelated"? If you want to stop redirecting to some error page when the user submits their login information, then remove the redirection code.
Ganeshh2 31-Aug-13 6:58am    
Hi PhantomUpvoter,
Thank u for your reply, I didn't write any code for redirecting to error page. The pop-up which is asking username and password also not related to my web site because when i entered my login details again it shows that pop-up.
[no name] 31-Aug-13 8:11am    
Do you seriously think that we can magically know what your code is doing? We would have absolutely no idea what login you are talking about, what error page you are talking about, how you are redirecting anything. If it's not your login, what login are you talking about? It has to be related to your site otherwise you would not be getting a login. What error page?
RedDk 31-Aug-13 15:38pm    
Show the redirection code.

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



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