|
 |
asp_web_howto thread: Question about using refresh to avoid session timeout
Message #1 by "cindy zhou" <czhou@w...> on Wed, 2 Oct 2002 15:39:03
|
|
Hi,
I read through the posts and there is suggestion about using "refresh" to
avoid session timeout (shown in the following):
<META HTTP-EQUIV="REFRESH" CONTENT="<%=60*session.timeout -10%>;
URL=http://www.sample.com/next.htm">
I just have a question about it. So 10 seconds before the session timeout,
the page will be ased from the server again. Will it start a new session,
or just extend this session to another 20 minutes(assuming using default
session timeout property)?
Thanks,
Cindy
Message #2 by Imar Spaanjaars <Imar@S...> on Wed, 02 Oct 2002 16:33:39 +0200
|
|
Hi Cindy,
It will extend the current session. Otherwise, why bother with trying to
avoid a session timeout?
As long as the session hasn't been ended, any page that is requested will
extend the session with another period of time.
Cheers,
Imar
At 03:39 PM 10/2/2002 +0000, you wrote:
>Hi,
>
>I read through the posts and there is suggestion about using "refresh" to
>avoid session timeout (shown in the following):
>
><META HTTP-EQUIV="REFRESH" CONTENT="<%=60*session.timeout -10%>;
>URL=http://www.sample.com/next.htm">
>
>I just have a question about it. So 10 seconds before the session timeout,
>the page will be ased from the server again. Will it start a new session,
>or just extend this session to another 20 minutes(assuming using default
>session timeout property)?
>
>Thanks,
>Cindy
Message #3 by "cindy zhou" <czhou@w...> on Wed, 2 Oct 2002 16:35:40
|
|
Imar:
you're right. I was wondering and want to make sure.
I am done this ASP project --- My very first and maybe the only ASP
project in the next several months. And now I am back to my C programming.
Thanks very much for all of your help.
See you in a while.
Cindy
Message #4 by Imar Spaanjaars <Imar@S...> on Wed, 02 Oct 2002 17:26:40 +0200
|
|
Bye. Have fun programming C......
Regards,
Imar
At 04:35 PM 10/2/2002 +0000, you wrote:
>Imar:
>
>you're right. I was wondering and want to make sure.
>
>I am done this ASP project --- My very first and maybe the only ASP
>project in the next several months. And now I am back to my C programming.
>Thanks very much for all of your help.
>
>
>See you in a while.
>Cindy
|
|
 |