Hi,
I am facing a slight pb regarding my session
I am using a HttpHandler like this:
<httpHandlers>
<add verb="*" path="/NetInFlames/Home/*_wif.aspx" type="Framework.Controller,Framework" />
</httpHandlers>
|
But when I run the apllication, I realize that the session part of the HttpContext is null
:
public class Controller : IHttpHandler
{
public Controller()
{
}
// Override the ProcessRequest method.
public void ProcessRequest(HttpContext context)
{
...
[/code)
However, in the methodOnSession_Start of global.asax, I retrieve my session.
It is also the case in the aspx page returned by the controller
Why the HttpHanlder cannot retrieve session information from the HttpContext?
Any Idea?
FYI my session parameters
[code]
<sessionState
&nbs p; mode="InProc"
&nbs p; stateConnectionString="tcpip=127.0.0.1:42424"
&nbs p;
sqlConnectionString="data source=127.0.0.1;user id=sa;password="
&nbs p; cookieless="true"
&nbs p; timeout="120"
/>
|