Last post Jun 14, 2010 05:01 AM by cnranasinghe
Jun 01, 2010 04:39 PM|theconspiracy|LINK
I use system.web.routing for a current project and experienced the problem that session = null on routed pages, but working normally on non-routed pages.
I'm using IIS6 on a shared host so I can't use the suggested IIS7 solution
I also tried the second suggested solution and added the following to my web.config:
<httpModules> <remove name="Session" /> <add name="Session" type="System.Web.SessionState.SessionStateModule"/>
This doesn't change anything either... still I have no access to the Session object.
SessionState is enabled, otherwise Session would not work on non-routed pages.
I'm sure there is a way to get routes and sessions to work together on IIS6, but I don't know how.
It would be great if somebody could help!
Routing Session IIS6
Jun 09, 2010 01:47 AM|ren_jeetu|LINK
session are maintained in httpContext object which is part of aso.net engine.
Session are managed in sessionModule in httpModule.
Pls have a look to following links, surely it will help you.
Jun 14, 2010 05:01 AM|cnranasinghe|LINK