Click here to Skip to main content
14,240,794 members
Rate this:
Please Sign up or sign in to vote.
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 1: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?
Rate this:
Please Sign up or sign in to vote.

Solution 2

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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100