Click here to Skip to main content
15,891,745 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
hi I have a problem in aspnet.please help me
I have a login page in my project that set as default page in web config and use asp login control in that.
my all pages in project open and show data,but one page of project not open and redirect in login page and not show asp login control in .
Posted
Comments
Prasad_Kulkarni 15-May-13 2:33am    
Can you show some code snippets?

Especially the 'one page' link code.
abtinC# 2009 15-May-13 2:53am    
tanx for attention
my project is working in some computer but in one server can't work and have problem.
Thanks7872 15-May-13 3:05am    
No solution can be provided without the code snippet.Post the smallest possible snippet which you suspect causing the problem.

1 solution

I suspect that while this page is loading (page_load event) the session is getting abondon (closed) due to some code condition. Therefore it is like automatically logging out and hence redirecting to the Login page.

I suggest you to check this page code and master page code (if any).

Hope this might help you solve your issue.

Do let me know if you need more explanation.
 
Share this answer
 

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