Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=71662 --- shadow/71662 2005-07-24 14:55:59.000000000 -0400 +++ shadow/71662.tmp.3354 2005-08-14 13:15:03.000000000 -0400 @@ -100,6 +100,34 @@ The Exception is thrown in HttpApplication.cs, because the session seems to be null: throw new HttpException ("Failed to get session object"); I am still trying to figure out where the session is set to null (before the session expires)... if that's the problem. + +------- Additional Comments From [EMAIL PROTECTED] 2005-08-14 13:15 ------- +I think I have identified the problem. I do not have 100% knowledge of +how HttpApplication is working so something of the following might be +wrong: + +I hacked HttpContext.cs to create a unique id in SetSession of +HttpContext and display it in the Session getter method (see +attachment). I am getting the following output in Session_Start: + +Session: r=89899603/False + +False means this is not a StaticFileHandler, the id of this context is +898... + +But then there is this output: +Session: r=0/True + +It think this is the browser requesting favicon or something. + +Now in Session_End I get: + +Session: r=0/False + +So I think that I am using the HttpApplication object that tried to +serve the static favicon request, and not the one that generated the +session cookie. So there really needs to be a way to access the right +session in Session_End and not a random one from some session. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
