Re: How do I set the timeout on IIS7 ASP.NET 2.0?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



One more thing. If you have a failure on the ASPState database, is it really wise to restore it? It seems to me that you will end up dumping current users during the restore so someone who might come back can come back.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"bruce barker" <brucebarker@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:A15C22E4-A5C1-46C3-9BF1-B433121C7D25@xxxxxxxxxxxxxxxx
if you use sqlserver sessions, a couple of weeks (or more) is fine and I
almost never use less than 12-24 hours (only shorten for security). works
great with shopping cart apps.

just be sure to have a backup of the session database (as its now production
data, unless lost sessions are ok).

-- bruce (sqlwork.com)


"SAL" wrote:

<sessionState timeout="120" />



I set mine for 2 hours very reluctantly and only because my boss wanted it
to go up.

"David Thielen" <thielen@xxxxxxxxxxxxx> wrote in message
news:s74ld4h223hniasbssvimokmtiu47g5c1e@xxxxxxxxxx
> Hi;
>
> How do I set how long until IIS 7 drops a session for an ASP.NET 2.0
> web app? I want to set it for 8 hours.
>
> thanks - dave
>
> david@at-at-at@windward.dot.dot.net
> Windward Reports -- http://www.WindwardReports.com
> me -- http://dave.thielen.com
>
> Cubicle Wars - http://www.windwardreports.com/film.htm




.



Relevant Pages

  • Re: [kde] lost *all* settings; and more!
    ... session and open a KDE session as root and do it there making sure that ... restore the bit you're running while you're running it (as the same user ... "Every nonfree program has a lord, a master -- ...
    (KDE)
  • Re: [SLE] Startup aplications
    ... session management may be confusing if you have not seen it before. ... Basically, KDE will take a "snapshot" of all the programs currently running, ... and restore those programs next time it is started. ... Next time KDE starts, they will open on desktop 1. ...
    (SuSE)
  • Re: Fedora 10 ctf-alt-F2
    ... Since I moved from Fedora 7 to Fedora 10, ... of the ctl-alt-Fx in a X session. ... In text mode every works fine, but from a X session, it breaks ... Entering Restore TV ...
    (Fedora)
  • Re: firefox message is it an error or not
    ... Sam Varshavchik wrote: ... for reasons other than that you closed it, it offers to restore the last ... session. ...
    (Fedora)
  • Re: Ctrl-Alt-F7 doesnt restore logged-in X session
    ... back to X with Ctrl-Alt-F7, it doesn't restore my session, but puts me ...
    (Fedora)