* Rationalize the user of MonoTODOs.
- Removed all the TODOs that were only overwritten methods
and had no further information.
- Methods that threw exceptions now have the message "Not
implemnted".
- Methods that return some constant are declared like
that.
- Removed a bunch of stale MonoTODOs that had not been
removed.
svn path=/trunk/mcs/; revision=68620
Patch from Hubert FONGARNAND
* SessionSQLServerHandler.cs (selectCommand): Instead of using
SELECT * for pulling the data out of the ASPStateTempSessions,
use
the explicit column names. This allows users to change the
table
and not have any undesired side effects for our code.
(ReadBytes): This patch corrects a bug too in ReadBytes. The
index parameter
was not properly used when calculating the size of the data.
svn path=/trunk/mcs/; revision=66601
2006-09-03 Robert Jordan <[email protected]>
* SessionSQLServerHandler.cs: persist and handle the "timeout" and
"expire" properties of the session. Fixes bug #78281.
Patch by Boris Dores <[email protected]>.
svn path=/trunk/mcs/; revision=64830
* RemoteStateServer.cs: use a Cache instead of a Hashtable so that we
get sliding expiration for free.
* StateServerItem.cs: expose 'timeout' through a property.
svn path=/trunk/mcs/; revision=62799
* SessionSQLServerHandler.cs: if the connection to the DB is lost, retry
the select/update/insert/delete commands after reconnecting.
Fixes bug #77785.
svn path=/trunk/mcs/; revision=58047
* System.Web/HttpRequest.cs: new SetFilePath() that does not conflict
with SetCurrentExePath. Now when transfering from a page to another,
CurrentExecutionFilePath and FilePath are correct.
* System.Web.SessionState/SessionStateModule.cs: use the new funciton
in HttpRequest.
svn path=/trunk/mcs/; revision=50559
* SessionStateModule.cs: fix compilation warnings and use the
application path for the cookie path. This is a temporary fix for 76172.
* SessionId.cs: don't access the cookie collection twice.
svn path=/trunk/mcs/; revision=50424
* HttpSessionState.cs: Added LinkDemand for Minimal.
* IHttpSessionState.cs: Renamed IsCookieLess to IsCookieless.
* ISessionStateItemCollection.cs: Added ICollection and IEnumerable.
* SessionStateMode.cs: Added Custom (2.0).
* SessionStateModule.cs: Use RandomNumberGenerator.Create to create
the RNG. Assert EnvironmentPermission to read MONO_XSP_STATIC_SESSION.
Added LinkDemand for Minimal.
* StateRuntime.cs: Added LinkDemand for Minimal, new ProcessRequest
override (2.0) and security attributes on methods.
svn path=/trunk/mcs/; revision=49834
* System.Web/HttpRuntime.cs: remove Console.
* System.Web/HttpApplicationFactory.cs: don't hook Session_End, but keep
the MethodInfo around for later invocation if needed. Don't call
GetMethods() for every HttpApplication (or derived class) instances.
Added a method, used by SessionStateModule, that will create use an
application without context to invoke Session_End. Keep a pool of
applications that are meant to be used by this method only.
* System.Web/HttpApplication.cs: add a SetSession method and do not
attach all the events if the application is for Session_End only.
* System.Web.SessionState/SessionStateModule.cs: Only invoke the End
event using the new method in HttpApplicationFactory and when session
state mode is InProc.
Fixes bug #71662.
svn path=/trunk/mcs/; revision=49610
* System.Web/HttpApplication.cs: clone the module collection so that
it's not shared between HttpApplications. Call GetHandler() in the
right place.
* System.Web.SessionState/SessionStateModule.cs: added lock around
'config'.
* System.Web.SessionState/SessionInProcHandler.cs: when inserting in
the the session in the Cache, use sliding expiration only.
* System.Web.Configuration/ModulesConfiguration.cs: add Clone (ugly).
svn path=/trunk/mcs/; revision=49157
* SessionStateModule.cs: hack that makes static files work on sites that
use the Session object in global.asax. You need to set
MONO_XSP_STATIC_SESSION to enable it and by dong so you will lose a bit
of performance when serving static files. Fixes bug #71133.
svn path=/trunk/mcs/; revision=40193
* System.Web.SessionState/SessionStateModule.cs: set the path modifier
when using cookie-less sessions.
* System.Web/HttpResponse.cs: fixed ApplyAppPathModifier to insert the
session ID.
* System.Web.UI/Control.cs: fixed ResolveUrl for relative URLs when
using cookie-less sessions.
* System.Web.Util/UrlUtils.cs: made (Insert|Get|Remove)SessionId use
the appRoot + SessionID + vpath format.
Fixes the 3 issues reported in bug #66623.
svn path=/trunk/mcs/; revision=36818
* System.Web/HttpRequest.cs: CurrentExecutionFilePath is the one that
changes when Transfer or Execute are used, not FilePath.
* System.Web/HttpServerUtility.cs: moved form saving/restoring from
Transfer to Execute, as it's needed there too. the query string is
correctly set now. Fixes bug #67388.
* System.Web/HttpContext.cs:
* System.Web.SessionState/SessionStateModule.cs: use SetCurrentExePath
instead of SetFilePath.
svn path=/trunk/mcs/; revision=34747