« Previous Next »

Thread: Session persistence problem

Last post 11-16-2009 4:54 AM by jakb. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 11-02-2009, 8:37 AM

    • jakb
    • Not Ranked
    • Joined on 09-27-2008, 8:50 AM
    • Posts 6

    Session persistence problem

    I am running IIS7.5 on Win7 Ultimate

    I have an old asp.net 2 app using session variables

    The app runs fine in Cassini and in IIS7.5 on the local machine but when accessed externally via the internet the app does not honour the session variables

    I have tried changing the App Pool from Default to Classic .Net to no effect

    Can anyone suggest what might be going on?

  • 11-06-2009, 9:49 PM In reply to

    Re: Session persistence problem

    Hi,

    Do you use cookie-less session or cookie-based session ?

    ASP.NET Session State Overview

    http://msdn.microsoft.com/en-us/library/ms178581.aspx

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • 11-07-2009, 5:30 AM In reply to

    • jakb
    • Not Ranked
    • Joined on 09-27-2008, 8:50 AM
    • Posts 6

    Re: Session persistence problem

    Using cookie-based In Proc storage sessions...

  • 11-08-2009, 10:04 PM In reply to

    Re: Session persistence problem

    Hi,

    You can run Fiddler to check if the cookie is sent properly by the clients.

    And below is article about troubleshoot session lost, hope helps:

    A boring, but typical, difficult case ---- ASP.NET session lost
    http://blogs.msdn.com/lixiong/archive/2007/05/31/a-boring-but-typical-difficult-case-asp-net-session-lost.aspx

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • 11-09-2009, 9:49 AM In reply to

    • jakb
    • Not Ranked
    • Joined on 09-27-2008, 8:50 AM
    • Posts 6

    Re: Session persistence problem

    Thanks for the advice

    I have investigated the problem further

    I have the identical code running on another IIS7.5 box which is only accessible over the network and all works as it should in IIS

    The public facing box is the one causing the problem - it has been set up with an identical configuration except that it is in the router DMZ and this is where some setting/configuration must be different.

  • 11-16-2009, 4:54 AM In reply to

    • jakb
    • Not Ranked
    • Joined on 09-27-2008, 8:50 AM
    • Posts 6

    Re: Session persistence problem

    Setting the sessionState to cookieless fixed this problem

Page 1 of 1 (6 items)
Microsoft Communities