I have a solution where I want to simplify my urls using a custom extension,
I might have a url like this: "page.aspx?xml=blablah.xml" that I simplify to
just "blablah.exc".

I solved this by using a urlhandler, in the urlhandler I use Server.Execute
to redirect to the page without changing the actual url, I'm not sure if
this is the best way but I had some problems  with RewritePath.

Anyway, it works good except when I try to store something in Session state
in page.aspx through the custom url I get "Session state can only be used
when enableSessionState is set to true, either in a configuration file or in
the Page directive" but it works if I use the actual url, any ideas of why
this happens and how I can fix it anyone?

best Regards
---
Mattias Konradsson

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to