A
Ahmet Gunes
Hi all,
[I am sure it's a simple question to most of you
]
I check whether session is alive in Page_Load.
If session is not alive then I want to navigate to another page, most
probably the login page.
But when a control, a button for example, is clicked, after Page_Load the
button's click event is also fired.
Since session is abandoned at this moment, any object references raise
"object reference not set" exception.
Since my application contains frames I do not use Server.Transfer or
Response.Redirect. In stead, I use client side javascript code to navigate
to the login page in the "top" window.
What's the workaround of this situation?
thanks in advance,
AG
[I am sure it's a simple question to most of you
I check whether session is alive in Page_Load.
If session is not alive then I want to navigate to another page, most
probably the login page.
But when a control, a button for example, is clicked, after Page_Load the
button's click event is also fired.
Since session is abandoned at this moment, any object references raise
"object reference not set" exception.
Since my application contains frames I do not use Server.Transfer or
Response.Redirect. In stead, I use client side javascript code to navigate
to the login page in the "top" window.
What's the workaround of this situation?
thanks in advance,
AG