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 > Pro-long Session timeout

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-27-05, 21:26
michaelfg81 michaelfg81 is offline
Registered User
 
Join Date: Mar 2004
Posts: 202
Pro-long Session timeout

Hi there,

Got a question here.............
how do i set in ASP code to prolong session timeout like to 10 minutes more or so.
Thanx
Reply With Quote
  #2 (permalink)  
Old 02-27-05, 21:29
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
Code:
Session.Timeout [=nMinutes]
I think you can set it anywhere, but the Session OnStart event in the global.asa is probably a good idea
Reply With Quote
  #3 (permalink)  
Old 02-27-05, 21:40
michaelfg81 michaelfg81 is offline
Registered User
 
Join Date: Mar 2004
Posts: 202
Hi and thanx for your quick reply...

U mean i set it like this
Session.Timeout = 15
???


**15 = 15 minutes
Reply With Quote
  #4 (permalink)  
Old 02-27-05, 21:42
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
yup, exactly like that.... I'm not sure because I couldn't see anything on it, but I believe there is an iis setting that can affect things as well. Looking into that now...
Reply With Quote
  #5 (permalink)  
Old 02-27-05, 21:46
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
In IIS under the properties for the Web Site, in the Home Directory tab there is a button called Configuration. Clicking that will open the application configuration window. On this window is another tab labels Options. In this tab you can also set the Session timeout. I think IIS will override anything you do in script be I can't be sure.
Reply With Quote
  #6 (permalink)  
Old 02-27-05, 21:49
michaelfg81 michaelfg81 is offline
Registered User
 
Join Date: Mar 2004
Posts: 202
Hi rokslide,

Thanx a lot.
This is wat i'm looking for..........hehe
Thanx a lot again
Appreciate ur help
Reply With Quote
  #7 (permalink)  
Old 02-27-05, 21:52
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
No problems, glad to have the time and opportunity to help, work here is boring me to tears so....
Reply With Quote
  #8 (permalink)  
Old 02-27-05, 21:54
michaelfg81 michaelfg81 is offline
Registered User
 
Join Date: Mar 2004
Posts: 202
HI again.......

Bother you again..............hehe...............
when u say "In IIS under the properties for the Web Site,"
where do u refer to?
Sorry ya..............kinda dumb in this thing.
Reply With Quote
  #9 (permalink)  
Old 02-27-05, 21:59
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
Okie to manage IIS I use the standard MMC.

To open that I right click on "My Computer" on the desktop, and select Manager. This opens the MMC.

You can then scroll down to Services and Applications and expand that. This will show IIS which can be expanded, and web sites which can be expanded. You can then right click on the website and click properties and you should be all go....

If you want to discuss this via MSN drop me a private message here with your id.
Reply With Quote
  #10 (permalink)  
Old 02-27-05, 22:05
michaelfg81 michaelfg81 is offline
Registered User
 
Join Date: Mar 2004
Posts: 202
Hi,

Thanx a lot...............manage to get it...........
Say..............i would really like to chat with u tru the net but for me i have only
yahoo messenger as my place here disable out our MSN...................
Perhaps u have Yahoo Messenger there?

Anyway thanx again for your help.
Really appreciate it
Reply With Quote
  #11 (permalink)  
Old 02-27-05, 22:08
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
How have they disabled msn? It can use HTTP to send everything so providing you can browse you should be able to use MSN. Unfortunately I don't have Yahoo. I have ICQ, but two clients are enough for me. I know I should really get a client that does everything but I haven't had time to find one I like so....
Reply With Quote
  #12 (permalink)  
Old 02-27-05, 22:11
michaelfg81 michaelfg81 is offline
Registered User
 
Join Date: Mar 2004
Posts: 202
I'm not quite sure how they disable it but as far as i know...........
they control it tru powerful firewall.........................

That is how i think they blocked it.
Anyway, i try install ICQ and perhaps u can give me ur ID
Thanx
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