BUG: ASP.NET Returns a New Session ID For Each Request

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default BUG: ASP.NET Returns a New Session ID For Each Request

    This does not happen frequently, but does happen in rare unkown cases.

    For example, at the time I'm writing this post, I'm having this problem
    again.

    The test page I'm browsing simply displays the SessionID. Each time I
    refresh the page, the SessionID gets a new value!!!

    The result is that Session state is totally lost when in InProc mode! In
    StateServer mode, it simply says that the data cannot be serialized.

    Hope Microsoft will hear my voice.

    Thanks.


    Edward Yang Guest

  2. Similar Questions and Discussions

    1. .NET Consumer sending SOAP request to a Web Serivce on Axis/Apache returns only the first tag
      If I hit the web service hosted on Axis/Apache server from .NET by the usual route; get WSDL, create proxy, call from a ASP.NET. A method of the...
    2. Request.UserLanguages returns an empty collection
      I have problem launching a folder that contains an ASPX page with Outlook 2002 and 2003 beta version, as the IE6 Request.UserLanguages returns an...
    3. [PHP] New Session Ids generated with each page request
      My problem is that I get a new Session Id with every request I send to the server. For that reason I am unable to share variables between pages using...
    4. Is it possible to get 2 simultaneous request for one session in .NET?
      Is it possible to get 2 simultaneous request for one session in .NET? Or Session object is automatically holds second request until first one is...
    5. Simultanious request for the same session?
      Is it possible to get 2 simultaneous request for one session in .NET? Or Session object is automatically holds second request until first one is...
  3. #2

    Default Re: ASP.NET Returns a New Session ID For Each Request

    What browser are you using. I had a similar problem with IIS making a new
    session when I hit refresh but this only happened in Opera.

    It might be a problem with your browser.

    "Edward Yang" <neo_in_matrix@msn.com> wrote in message
    news:eBwS4ihQDHA.2036@TK2MSFTNGP10.phx.gbl...
    > This does not happen frequently, but does happen in rare unkown cases.
    >
    > For example, at the time I'm writing this post, I'm having this problem
    > again.
    >
    > The test page I'm browsing simply displays the SessionID. Each time I
    > refresh the page, the SessionID gets a new value!!!
    >
    > The result is that Session state is totally lost when in InProc mode! In
    > StateServer mode, it simply says that the data cannot be serialized.
    >
    > Hope Microsoft will hear my voice.
    >
    > Thanks.
    >
    >

    Tomasz Kaszuba Guest

  4. #3

    Default Re: ASP.NET Returns a New Session ID For Each Request

    Check that you have COOKIEs enabled...




    "Edward Yang" <neo_in_matrix@msn.com> wrote in message
    news:eBwS4ihQDHA.2036@TK2MSFTNGP10.phx.gbl...
    > This does not happen frequently, but does happen in rare unkown cases.
    >
    > For example, at the time I'm writing this post, I'm having this problem
    > again.
    >
    > The test page I'm browsing simply displays the SessionID. Each time I
    > refresh the page, the SessionID gets a new value!!!
    >
    > The result is that Session state is totally lost when in InProc mode! In
    > StateServer mode, it simply says that the data cannot be serialized.
    >
    > Hope Microsoft will hear my voice.
    >
    > Thanks.
    >
    >
    >

    David Waz... Guest

  5. #4

    Default BUG: ASP.NET Returns a New Session ID For Each Request

    I'm having the same problem. If I run the the app in
    Visual Studio it works fine. However, if I run it outside
    VS using the URL, the session ID changes on every
    postback, and the session state is lost.

    If I change the web.config to cookieless=true then I don't
    see the problem. How can I check to see if cookies are
    disabled? Or is there some IIS setting that causes this?

    My OS is Win 2K Server SP4, IE 6 SP1, VS .Net 1.1
    >-----Original Message-----
    >This does not happen frequently, but does happen in rare
    unkown cases.
    >
    >For example, at the time I'm writing this post, I'm
    having this problem
    >again.
    >
    >The test page I'm browsing simply displays the SessionID.
    Each time I
    >refresh the page, the SessionID gets a new value!!!
    >
    >The result is that Session state is totally lost when in
    InProc mode! In
    >StateServer mode, it simply says that the data cannot be
    serialized.
    >
    >Hope Microsoft will hear my voice.
    >
    >Thanks.
    >
    >
    >.
    >
    Chris Cummings Guest

  6. #5

    Default BUG: ASP.NET Returns a New Session ID For Each Request

    Holy shit! Microsoft broke IIS with patch: MS01-055.
    If your computer name has an underscore in it, then the
    session cookies are blocked! See
    [url]http://support.microsoft.com/default.aspx?scid=kb;EN-[/url]
    US;316112
    >-----Original Message-----
    >This does not happen frequently, but does happen in rare
    unkown cases.
    >
    >For example, at the time I'm writing this post, I'm
    having this problem
    >again.
    >
    >The test page I'm browsing simply displays the SessionID.
    Each time I
    >refresh the page, the SessionID gets a new value!!!
    >
    >The result is that Session state is totally lost when in
    InProc mode! In
    >StateServer mode, it simply says that the data cannot be
    serialized.
    >
    >Hope Microsoft will hear my voice.
    >
    >Thanks.
    >
    >
    >.
    >
    Chris Cummings Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139