If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Timeout - HTTP Session

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-21-03, 03:48
sdpeixoto sdpeixoto is offline
Registered User
 
Join Date: Aug 2003
Posts: 9
Arrow Timeout - HTTP Session

Hello everyone,

I have a small problem...
The general idea is:

1. Get the maximum time of inactivity(t1) of a web page when a HTTP session expires.
2. While another window is open, check the time of inactivity (t2) of this page.
3. When t1=t2 make a refresh to the page.

Does anyone has a suggestion on how can i do this?

Thank you for your help.

Regards,
Reply With Quote
  #2 (permalink)  
Old 08-23-03, 15:20
unatratnag unatratnag is offline
Registered User
 
Join Date: Jul 2003
Location: Ohio/Chicago
Posts: 75
did page one open page two or vice versa?
Reply With Quote
  #3 (permalink)  
Old 08-26-03, 03:18
WolFox WolFox is offline
Registered User
 
Join Date: Aug 2003
Posts: 14
Re: Timeout - HTTP Session

Quote:
Originally posted by sdpeixoto
Hi,

I thing i had the same kind of problem. I resolved it in truncating my process. It makes a little more work, but it works fine.

I try to explain (language independent).

If in your first page you doing something : while not isFinish
...

wend


Regards,
Reply With Quote
  #4 (permalink)  
Old 08-26-03, 03:43
WolFox WolFox is offline
Registered User
 
Join Date: Aug 2003
Posts: 14
Re: Timeout - HTTP Session

Quote:
Originally posted by WolFox

Oups !!

Well : While not isfinished
...
...
Wend


Try to do this
the "t1" page

truncatedTime = XXX
ellapsedTime = "start time"
While (not isfinished) and (ellapsedTime < truncatedTime )
ellapsedTime = "new time"
...
...
Wend


So the t2 page has a flag to know if the treatment has finished with ellapsedTime or isfinished. T1 can't stop with timeOut.

Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On