[Mono-bugs] [Bug 59051][Wis] Changed - cookieless sessions not working with mod_mono

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 31 May 2004 14:34:45 -0400 (EDT)


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 chris@turchin.net.

http://bugzilla.ximian.com/show_bug.cgi?id=59051

--- shadow/59051	2004-05-31 14:31:47.000000000 -0400
+++ shadow/59051.tmp.16559	2004-05-31 14:34:45.000000000 -0400
@@ -80,6 +80,32 @@
 in <0x00289> System.Web.UI.Control:InitRecursive (System.Web.UI.Control)
 in <0x00063> System.Web.UI.Page:InternalProcessRequest ()
 in <0x0008d> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
 in <0x002e8> ExecuteHandlerState:Execute ()
 in <0x00084> StateMachine:ExecuteState
 (System.Web.HttpApplication/IStateHandler,bool&)
+
+------- Additional Comments From chris@turchin.net  2004-05-31 14:34 -------
+Here is the method that is misbehaving, with call to
+HttpContext.Current.Server.MapPath:
+
+
+        public static SiteConfig GetSiteConfig()
+
+        {
+
+            XmlSerializer ser = new XmlSerializer(typeof(SiteConfig));
+
+            SiteConfig config = null;
+
+			using (StreamReader reader = new
+StreamReader(HttpContext.Current.Server.MapPath("SiteConfig/site.config")))
+
+            {
+
+                config = ser.Deserialize(reader) as SiteConfig;
+
+            }
+
+            return config;
+
+        }