Click here to Skip to main content
14,690,608 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai everybody,

I am working on session timeout issue.my problem is if session timeouts then the page should redirect to login page. but what i am getting is, i am getting the login page opened inside the the tab panel of a tree node. how to avoid it?
Posted
Updated 15-May-13 2:05am
v3
Comments
Prasad_Kulkarni 15-May-13 6:07am
   
Can you show the code snippets, how you redirecting to login.aspx page?
_Amy 15-May-13 6:22am
   
Nothing is urgent here. What have you tried so far?

Please add below script tag inside Header of Login Page. This script will open login page always in top frame.
<script>
    if (window != window.top) top.location.href = location.href;
</script>
   
v2
Comments
sunitha korakandla 16-May-13 6:15am
   
my heartful thanks to you i really struggled for morethan 10 days.

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