clipped from msdn.microsoft.com To optimize this behavior, you can take advantage of the ASP.NET 2.0 custom session ID generation features to hide the session ID for a request, thereby preventing any session state work for that request. You can do this by implementing a custom type that derives from System.Web.SessionState.SessionIDManager, and then implementing the GetSessionID method to return a null session ID for requests that do not require session state (see Figure 2). For all other requests, you can delegate to the default GetSessionID implementation of the SessionIDManager class, which provides the default cookie and cookieless session ID support in ASP.NET. |
This blog is a knowledge base...where I clip cool tricks and urls
Overriding SessionId
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2007
(68)
-
▼
July
(15)
- Script#
- Export .NET to COM
- NHibernate SessionScope in ASP.NET
- high-performance, distributed memory object cachin...
- Anonymous Class - C# 3.0
- How to expose .NET library to COM
- CCW - COM Callable Wrapper
- .NET-COM RCW Marshalling
- .NET-COM Model
- tags need to use serviced component
- consuming .NET assembly as COM
- Creating a template item with Wizard
- Overriding SessionId
- SessionID Manager
- Hacking Session mechanism
-
▼
July
(15)
No comments:
Post a Comment