A
Astrix
I have been working on session timeout for an application and I got a
lot of help from this discussion Board. My Thanks to all of you.
For e.g
If i have a website which has multiple pages, I open the first page
and then log to the second page and so forth.. Don't session timeout
value get reset each time we go to another page ?
I have noticed that if i go to the initial page and keep pressing F5
the page gets refreshed and the session timeout timer will start after
the last refresh done.
But this is not the case if i have a website with multiple pages..The
session timeout will start after i open the first page and no matter
if i keep browsing I still get reloaded to "Index.aspx" after 30
seconds using the code below
Response.AppendHeader("Refresh",Convert.ToString((Session.Timeout *
60) -1170) + ";URL=Index.aspx");
What is the difference between Refresh {Pressing F5} and getting
another page by clicking on the link.
Thank you,
astrix
lot of help from this discussion Board. My Thanks to all of you.
For e.g
If i have a website which has multiple pages, I open the first page
and then log to the second page and so forth.. Don't session timeout
value get reset each time we go to another page ?
I have noticed that if i go to the initial page and keep pressing F5
the page gets refreshed and the session timeout timer will start after
the last refresh done.
But this is not the case if i have a website with multiple pages..The
session timeout will start after i open the first page and no matter
if i keep browsing I still get reloaded to "Index.aspx" after 30
seconds using the code below
Response.AppendHeader("Refresh",Convert.ToString((Session.Timeout *
60) -1170) + ";URL=Index.aspx");
What is the difference between Refresh {Pressing F5} and getting
another page by clicking on the link.
Thank you,
astrix