session timeout in stateservice and sql server 2000

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
I wish to know what timeout options are provided or handled in a real
website for StateService and Sqlserver2000 session management options.
 
The session timeout must be chosen according to the traffic on your website,
the size of the sesson object for each user, the number of users and the
memory size of your server,
The state Service is used when you need to activate WebGarden or WebFarms,
to share the session between worker processes. The timeout of the session
must be probably set near 20min
The SQLServer option permits to persist session for a long time 24 hours if
you need it.

If your page breaks, because the session has time out, consider to have a
design issue. To increase the duration of the session is rarely a solution
Personnaly, I use the session object only to save data between two pages
before a response.redirect.
The Viewstate permit to save IDs for the time you are on the page
(post-back), and to reconstruct session objects if necessary if datas are
lost.

hope this helps,

--
Daniel TIZON
MCP - MCSD.NET - MCT


StateService
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top