Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session Data Problem - HTTP Handler

Status
Not open for further replies.

dace

Programmer
Jul 21, 2001
263
US
Hi all-

I have a bit of a sticky problem. I've created a custom http handler, following the article:
So, I have a page that, in its Page_Load, adds some stuff to the session with the syntax:
Page.Session("NewKey") = __(NewObject)__

Then, I cause the http handler to be called (also from Page_Load) by using dostuff.sync?myparam=___

So, my http handler seems to work fine, but it doesn't get the session information I added with Page.Session(...)...

It implements IReadOnlySessionState, and I've traced the entire execution- the keys are present if I check the session from the page, but they all disappear from the http request context's session while the httphandler is executing.

Anyone have any thoughts?

Thanks!
 
Does anyone have any ideas? I implement IRequiresSessionState as per MSDN say-so, but it still loses the session state when the handler is executing [3eyes]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top