HELP - Session Restart on every request?!

Discussion in 'ASP .Net' started by kbrandl@gmail.com, Mar 2, 2006.

  1. Guest

    I am using InProc, Cookieless Session State in my ASP.NET application
    -- like this:

    <sessionState mode="InProc"
    stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data
    source=127.0.0.1;user id=sa;password=" cookieless="true" timeout="20"/>

    The problem is that the Session restarts with each and every user
    request. I can tell that Session is restarting with each page request
    because 1) I can watch it do so in PerfMon, and 2) Session_Start in
    global.ascx executes and writes to my log file with each request.

    Please help -- how do I prevent Session State from restarting with each
    and every page request?
     
    , Mar 2, 2006
    #1
    1. Advertising

  2. if it really is restarting you should examine your config files to find out
    what the setting is. Are you doing anything funky with code that you are not
    saying?

    --
    Regards,
    Alvin Bruney [MVP ASP.NET]

    [Shameless Author plug]
    The Microsoft Office Web Components Black Book with .NET
    Now Available @ www.lulu.com/owc
    Forth-coming VSTO.NET - Wrox/Wiley 2006
    -------------------------------------------------------



    <> wrote in message
    news:...
    > I am using InProc, Cookieless Session State in my ASP.NET application
    > -- like this:
    >
    > <sessionState mode="InProc"
    > stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data
    > source=127.0.0.1;user id=sa;password=" cookieless="true" timeout="20"/>
    >
    > The problem is that the Session restarts with each and every user
    > request. I can tell that Session is restarting with each page request
    > because 1) I can watch it do so in PerfMon, and 2) Session_Start in
    > global.ascx executes and writes to my log file with each request.
    >
    > Please help -- how do I prevent Session State from restarting with each
    > and every page request?
    >
     
    Alvin Bruney - ASP.NET MVP, Mar 3, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    2
    Views:
    678
  2. Mark
    Replies:
    3
    Views:
    439
  3. Íßêïò
    Replies:
    1
    Views:
    442
    Jason Friedman
    Jul 21, 2010
  4. John Doe
    Replies:
    9
    Views:
    666
  5. Josef Moellers

    Restart Perl Application upon KDE Restart

    Josef Moellers, Jul 18, 2013, in forum: Perl Misc
    Replies:
    18
    Views:
    285
    Adam H. Kerman
    Jul 26, 2013
Loading...

Share This Page