Debugging -- SessionID and ASP.Net

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

  1. #1

    Default Re: Debugging -- SessionID and ASP.Net

    Insightful information indeed, is this documented anywhere..?


    "Rob Teixeira [MVP]" <RobTeixeira@@msn.com> wrote in message
    news:eeBzkQXUDHA.1864@TK2MSFTNGP11.phx.gbl...
    > Not entirely.
    > The SessionID is basically an in-memory cookie, and can survive as long as
    > the browser is open.
    > If the server gets the ID cookie back, but finds no session on the server,
    > the session is created with the same ID.
    > In other words, don't depend on the SessionID being different after a
    > timeout.
    >
    > -Rob
    >
    > "alien2_51" <dan.billow@n.o.s.p.a.m.monacocoach.com> wrote in message
    > news:ek60ZHUUDHA.2148@TK2MSFTNGP11.phx.gbl...
    > > I have an ASP.NET app that serializes the data along with the sessionid
    > > stored in the session into the database when the session times out it...
    > > Provided the user does not close the browser(is where the previous
    session
    > > id is stored) they can reconnect to there session... The problem I'm
    > seeing
    > > is that the session id does not appear to change in my debugger.. I open
    > up
    > > perfmon connect to my appdomain add counter for active sessions, set my
    > > session timeout to 1 min, when I see my counter drop to 0 sessions
    active
    > I
    > > perform an action in the browser and whe I get to the break point I've
    > set,
    > > my session id is the same as it was before it timed out... Is this an
    > issue
    > > with the debugger attaching to the asp.net process...??
    > >
    > > Thanks,
    > >
    > > Dan
    > >
    > >
    >
    >

    alien2_51 Guest

  2. Similar Questions and Discussions

    1. Debugging output does not appear when use Debugging IPAddresses
      I recently absorbed the task of supporting our CF MX 6.1 server. We have an app that we need to debug - the developer asked us to add her IP...
    2. #25934 [Fbk->NoF]: SessionID in URL sometimes ignored
      ID: 25934 Updated by: sniper@php.net Reported By: php at webfreezer dot com -Status: Feedback +Status: ...
    3. #25934 [Opn]: SessionID in URL sometimes ignored
      ID: 25934 User updated by: php at webfreezer dot com Reported By: php at webfreezer dot com Status: Open Bug Type: ...
    4. #25934 [NEW]: SessionID in URL sometimes ignored
      From: php at webfreezer dot com Operating system: SuSe Linux 8.1 PHP version: 4.3.3 PHP Bug Type: Session related Bug...
    5. What is the math behind the sessionid?
      I'm wondering how unique the sessionid is in ASP. What is the math behind it's creation, and what are the probobolities of it being reproduced,...
  3. #2

    Default Re: Debugging -- SessionID and ASP.Net

    Yes. I have seen several articles on the issue, including something in the
    knowledge base.
    You might want to check the MS KB.

    -Rob [MVP]

    "alien2_51" <dan.billow@n.o.s.p.a.m.monacocoach.com> wrote in message
    news:#BOgnofUDHA.2332@TK2MSFTNGP09.phx.gbl...
    > Insightful information indeed, is this documented anywhere..?
    >
    >
    > "Rob Teixeira [MVP]" <RobTeixeira@@msn.com> wrote in message
    > news:eeBzkQXUDHA.1864@TK2MSFTNGP11.phx.gbl...
    > > Not entirely.
    > > The SessionID is basically an in-memory cookie, and can survive as long
    as
    > > the browser is open.
    > > If the server gets the ID cookie back, but finds no session on the
    server,
    > > the session is created with the same ID.
    > > In other words, don't depend on the SessionID being different after a
    > > timeout.
    > >
    > > -Rob
    > >
    > > "alien2_51" <dan.billow@n.o.s.p.a.m.monacocoach.com> wrote in message
    > > news:ek60ZHUUDHA.2148@TK2MSFTNGP11.phx.gbl...
    > > > I have an ASP.NET app that serializes the data along with the
    sessionid
    > > > stored in the session into the database when the session times out
    it...
    > > > Provided the user does not close the browser(is where the previous
    > session
    > > > id is stored) they can reconnect to there session... The problem I'm
    > > seeing
    > > > is that the session id does not appear to change in my debugger.. I
    open
    > > up
    > > > perfmon connect to my appdomain add counter for active sessions, set
    my
    > > > session timeout to 1 min, when I see my counter drop to 0 sessions
    > active
    > > I
    > > > perform an action in the browser and whe I get to the break point I've
    > > set,
    > > > my session id is the same as it was before it timed out... Is this an
    > > issue
    > > > with the debugger attaching to the asp.net process...??
    > > >
    > > > Thanks,
    > > >
    > > > Dan
    > > >
    > > >
    > >
    > >
    >
    >

    Rob Teixeira [MVP] 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