How to use Session State Database

Discussion in 'Site Programming, Development and Design' started by JackWebb, Jul 28, 2010.

  1. I read in the forums of how to determine if things were being recycled (contacted support to view event log) and indeed that had happened.
    I then (per kb/a626/how-to-enable...your-web.aspx) added a DB, contacted support to install it, and now have their email saying the schema has been created.

    I now would ask:
    a) are there any further steps other than setting <sessionState mode="SQLServer"... etc> ? and
    b) how do I set things up to say save the session at 17 minutes, knowing that the thing will be recycled at 20, and
    c) will my sessions be saved forever using this concept, and how do i prevent hijacking?

    Thanks guys,

    Jack Webb
     
  2. Ray

    Ray

    Since your session is now saved off the server having your application recycled will not affect it. Now the controlling factor on how long the session exist depends on the session timeout settings.
     
  3. Thanks

    I'll give it all a shot tonight.
     

Share This Page