« Previous Next »

Thread: Problem with IIS 7.0 and asp net session var

Last post 04-20-2009 8:36 PM by raptor07. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 04-18-2009, 3:34 PM

    • raptor07
    • Not Ranked
    • Joined on 04-18-2009, 3:26 PM
    • Posts 3

    Problem with IIS 7.0 and asp net session var

    Hello, I have a big trouble 'cause I have an asp net application and this application needs session vars, when I'm using windows xp and IIS 6 the application works preffectly, but in production with windows server 2008 and IIS 7 the session expires each 10 minutes, please help me, thanks and sorry about my english

  • 04-18-2009, 9:27 PM In reply to

    Re: Problem with IIS 7.0 and asp net session var

    How do you store session state?  In-proc?  Isn't the production server configured to recycle worker processes for application pool every 10 minutes? You would need to look into the application pool settings on your production server and your IIS6 machine to understand the difference in behavior.

    Once you do, you may need to look into alternatives on how to store session state so that it survives process recycles.

     

    Jaroslav Dunajsky (MSFT, IIS)
  • 04-20-2009, 10:35 AM In reply to

    • raptor07
    • Not Ranked
    • Joined on 04-18-2009, 3:26 PM
    • Posts 3

    Re: Problem with IIS 7.0 and asp net session var

    yes, I thought about other alternatives to my session vars to survive the precess recycles, in this moment i'm using the sessionstate in sql server mode, I think it's must be suficient to my session vars don't be lost, but the problem is again, I 'll to check the application pool settings in IIS 6 and ISS7, thanks a lot just a question, how and where can I chek this configuration in mi windows xp and in windows server 2008??

  • 04-20-2009, 8:36 PM In reply to

    • raptor07
    • Not Ranked
    • Joined on 04-18-2009, 3:26 PM
    • Posts 3

    Re: Problem with IIS 7.0 and asp net session var

    the OS in the server is windows server  2008 datacenter, and it doesn't  have any actualization for the OS, it's for this the trouble???? please help
Page 1 of 1 (4 items)
Microsoft Communities