loss of session when using mode=stateserver

Discussion in 'ASP .Net' started by Seth Broomer, Jun 30, 2004.

  1. Seth Broomer

    Seth Broomer Guest

    I am losing my session state for some reason randomly and i don't know why
    i store just simple things like an id for the user, and their username, etc.
    maybe 10 items per user
    it happens about every 5 min.

    in my web.config file i have
    <sessionstate
    mode="StateServer"
    stateConnectionString="tcpip=127.9.9.1:42424"
    sqlConnectionSTring="data source=127...."
    cookieless="false"
    timeout="45"
    />

    any ideas?
    thanks
    seth
    Seth Broomer, Jun 30, 2004
    #1
    1. Advertising

  2. Seth Broomer

    rss Guest

    Check out the stateNetworkTimeout sessionState attribute. This allows you
    to specify the timeout [in seconds] that the TCP/IP connection can be idle
    before dropping the session. Just a thought, but it sounds like a
    possibility given your symptoms.

    -rss

    "Seth Broomer" <> wrote in message
    news:#...
    > I am losing my session state for some reason randomly and i don't know why
    > i store just simple things like an id for the user, and their username,

    etc.
    > maybe 10 items per user
    > it happens about every 5 min.
    >
    > in my web.config file i have
    > <sessionstate
    > mode="StateServer"
    > stateConnectionString="tcpip=127.9.9.1:42424"
    > sqlConnectionSTring="data source=127...."
    > cookieless="false"
    > timeout="45"
    > />
    >
    > any ideas?
    > thanks
    > seth
    >
    >
    rss, Jul 2, 2004
    #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. Jeffry van de Vuurst
    Replies:
    0
    Views:
    2,100
    Jeffry van de Vuurst
    May 18, 2004
  2. MG
    Replies:
    2
    Views:
    1,800
  3. Dhaval Mehta
    Replies:
    2
    Views:
    2,086
    Dhaval Mehta
    Jul 23, 2004
  4. Med
    Replies:
    0
    Views:
    479
  5. Steph
    Replies:
    0
    Views:
    349
    Steph
    Nov 12, 2007
Loading...

Share This Page