[Mono-bugs] [Bug 75956][Nor] Changed - [PATCH] ASPSESSION cookie path incorrect

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Sep 21 11:23:49 EDT 2005

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 bugzilla at patearl.net.


--- shadow/75956	2005-09-20 19:32:17.000000000 -0400
+++ shadow/75956.tmp.18983	2005-09-21 11:23:49.000000000 -0400
@@ -274,6 +274,18 @@
 -cookie.Path = UrlUtils.GetDirectory (context.Request.ApplicationPath);
 cookie.Path = context.Request.ApplicationPath;
+------- Additional Comments From bugzilla at patearl.net  2005-09-21 11:23 -------
+Changing the cookie path to ApplicationPath works fairly well for me.
+ With only the path to the cookie changed, both InProc and StateServer
+work "properly" for me.  Naturally, SQLServer should work as well. 
+Mono 1.1.9 contains a fix to the cookie loading code that would have
+prevented from working with the same change.
+Note that there is one issue.  Since cookies are not port-specific,
+two instances of XSP running on different ports would interfere with
+each other.  To be sure, I tested this with FireFox and the two XSP
+servers do indeed clobber each other's session cookies.

More information about the mono-bugs mailing list