By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,581 Members | 1,966 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,581 IT Pros & Developers. It's quick & easy.

Session Timeouts

P: n/a
What are some of the draw backs about setting a very long session time out?

What is 'too long' ?
Jul 19 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Sessions use system resources, i.e. RAM. There is no definitive "too long"
value. This all depends on what your needs are or aren't.

Ray at work

"Dave" <1@1.ca> wrote in message
news:uo**************@TK2MSFTNGP11.phx.gbl...
What are some of the draw backs about setting a very long session time out?
What is 'too long' ?

Jul 19 '05 #2

P: n/a
Well, first of all, every session that's open, even if it's unused, uses
server memory and CPU space. I have found though that for one of my sites 20
minutes is not enough, even 30 wasn't, so I set the timeout to 40 minutes,
but then I destroy all my session in my script the moment they are not
needed anymore, thus forcing those resources to become available again. If
someone does take long to fill out a form, he's get the time todo it, but
the moment a session is not needed anymore I kill it.

hth

--

Kind Regards
Rudi Ahlers
+27 (82) 926 1689

Greater love has no one than this, that he lay down his life for his friends
(John 15:13).
"Dave" <1@1.ca> wrote in message
news:uo**************@TK2MSFTNGP11.phx.gbl...
What are some of the draw backs about setting a very long session time out?

What is 'too long' ?
Jul 19 '05 #3

P: n/a
look its depend on the site usease , if your site is frquently using then for every user session object will create and that will take a resourses from server and after some time back your server will go slow and might be restarted .. but if yo u are making some web based application then you can define any session time out period but you should always remember that if there is no useease of session then kill it .This is implemented for all type of application
Jul 19 '05 #4

P: n/a
ISP Session allows a 67 year timeout :) because all data is persisted to Sql
server upon page end execution.

--
compatible web farm Session replacement for Asp and Asp.Net
http://www.nieropwebconsult.nl/asp_session_manager.htm

"Dave" <1@1.ca> wrote in message
news:uo**************@TK2MSFTNGP11.phx.gbl...
What are some of the draw backs about setting a very long session time out?

The max is 24 hours for Microsoft's Session. Drawbacks, more resources, more
locks the less scalable your website.
What is 'too long' ?


Jul 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.