From: Juraj Skripsky Date: Wed, 7 Jul 2004 05:11:45 +0000 (-0000) Subject: Same thing as in HEAD. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=aeb214d196d314598b8f1e9ed2fa4b02ee800ba2;p=mono.git Same thing as in HEAD. 2004-07-07 Juraj Skripsky * SessionStateModule.cs: set path in session cookie to application path. svn path=/branches/mono-1-0/mcs/; revision=30821 --- diff --git a/mcs/class/System.Web/System.Web.SessionState/ChangeLog b/mcs/class/System.Web/System.Web.SessionState/ChangeLog index 58135e9f7d0..3e70b628dc9 100644 --- a/mcs/class/System.Web/System.Web.SessionState/ChangeLog +++ b/mcs/class/System.Web/System.Web.SessionState/ChangeLog @@ -1,3 +1,8 @@ +2004-07-07 Juraj Skripsky + + * SessionStateModule.cs: set path in session cookie to application + path. + 2004-06-18 Gert Driesen * IStateRuntime.cs: added missing marshalling attributes diff --git a/mcs/class/System.Web/System.Web.SessionState/SessionStateModule.cs b/mcs/class/System.Web/System.Web.SessionState/SessionStateModule.cs index 70c4a566129..cbee9af88f8 100644 --- a/mcs/class/System.Web/System.Web.SessionState/SessionStateModule.cs +++ b/mcs/class/System.Web/System.Web.SessionState/SessionStateModule.cs @@ -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); } }