Same thing as in HEAD.
authorJuraj Skripsky <js@hotfeet.ch>
Wed, 7 Jul 2004 05:11:45 +0000 (05:11 -0000)
committerJuraj Skripsky <js@hotfeet.ch>
Wed, 7 Jul 2004 05:11:45 +0000 (05:11 -0000)
2004-07-07  Juraj Skripsky <juraj@hotfeet.ch>

        * SessionStateModule.cs: set path in session cookie to application
        path.

svn path=/branches/mono-1-0/mcs/; revision=30821

mcs/class/System.Web/System.Web.SessionState/ChangeLog
mcs/class/System.Web/System.Web.SessionState/SessionStateModule.cs

index 58135e9f7d087f2fa66990072b3bf3fe641b15ea..3e70b628dc9bc5ce4a375493a7039c2d268b695f 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-07  Juraj Skripsky <juraj@hotfeet.ch>
+
+       * SessionStateModule.cs: set path in session cookie to application
+       path.
+
 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
 
        * IStateRuntime.cs: added missing marshalling attributes
index 70c4a56612905c7b903446a1a105b3e78500f54b..cbee9af88f8cbc8a36c915ee49f5d4b73275cf6c 100644 (file)
@@ -158,7 +158,7 @@ namespace System.Web.SessionState
                                } else if (isNew) {
                                        string id = context.Session.SessionID;
                                        HttpCookie cookie = new HttpCookie (CookieName, id);
-                                       cookie.Path = UrlUtils.GetDirectory (context.Request.Path);
+                                       cookie.Path = UrlUtils.GetDirectory (context.Request.ApplicationPath);
                                        context.Response.AppendCookie (cookie);
                                }
                        }