|
-
Mar 1st, 2001, 02:42 AM
#1
Thread Starter
Member
Hey all
So here I am again ...
I want to session Time-out to be increase from the standard .. 10Min? to 60minutes ... yes I know this is a bit much but it's needed for a DataRepositry we have implemented ... users will also be using the site for propably more than that .. what I need to know is this ...
Where do I declare the Session.Timeout, in the Global.asa in the Session_Onstart or in the ASP page itself and is this right .. * Session.Timeout = "60" *
Another point ... can I put a SQL query into the Session_onEnd, that wil update my DB? I tkae it I have to put the Databse invoking stuff intthere as-well ..
Thanks in Advance!
-
Mar 1st, 2001, 09:01 PM
#2
Hyperactive Member
Well u can set the Session Timeout directly on the web server. Click on the properties of the web site and increment the timeout.
Also u can make database calls in the Session_OnEnd event
-
Mar 2nd, 2001, 02:07 AM
#3
Frenzied Member
Incidently, you don't need to change the sessiontimeout value if they will be using the site for more than 20 mins. Only if they will be idle for longer than 20 mins. As long as they continue working on it, shouldn't be a problem unless you have some complex DB queries that do not return for a while.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
Mar 2nd, 2001, 02:13 AM
#4
Thread Starter
Member
Well the User goes into a Seperate DB that uses ASP but I haven't tested it yet .. but in theory and what you have just told me I wouldn't need to change the time-out .. I will test it and let you know ....
Thanks Guy's!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|