SessionId doesn't appear in the Request.Uri, why?

H

Hope Paka

I have enabled the session to be without cookie. It adds the session id to
the url. But the problem is, i can't take the session id part from the
Request.Url.

Taking session id is not my purpose. I know, i can take it from the
Session.SessionId property.

I have used Request.Url.LocalPath, Request.Url.AbsolutePath, neither
displays me the session id in the url. How can i get this url by using
System.Uri class.
 
B

Bruce Barker

cookieless session manager uses url rewriting, so by the time your code is
called, the session id is no longer in the url.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top