Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 01:42 PM
Dave
Guest
 
Posts: n/a
Default Session Timeouts

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

What is 'too long' ?
  #2  
Old July 19th, 2005, 01:42 PM
Ray at
Guest
 
Posts: n/a
Default Re: Session Timeouts

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:uoFgpYZTEHA.1172@TK2MSFTNGP11.phx.gbl...[color=blue]
> What are some of the draw backs about setting a very long session time[/color]
out?[color=blue]
>
> What is 'too long' ?[/color]


  #3  
Old July 19th, 2005, 01:42 PM
Lord Merlin
Guest
 
Posts: n/a
Default Re: Session Timeouts

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:uoFgpYZTEHA.1172@TK2MSFTNGP11.phx.gbl...
What are some of the draw backs about setting a very long session time out?

What is 'too long' ?


  #4  
Old July 19th, 2005, 01:43 PM
Gyanendra
Guest
 
Posts: n/a
Default RE: Session Timeouts

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
  #5  
Old July 19th, 2005, 01:43 PM
Egbert Nierop \(MVP for IIS\)
Guest
 
Posts: n/a
Default Re: Session Timeouts

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:uoFgpYZTEHA.1172@TK2MSFTNGP11.phx.gbl...[color=blue]
> What are some of the draw backs about setting a very long session time[/color]
out?

The max is 24 hours for Microsoft's Session. Drawbacks, more resources, more
locks the less scalable your website.
[color=blue]
> What is 'too long' ?[/color]

 

Bookmarks

Thread Tools

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles