URL question

  • Thread starter Thread starter John
  • Start date Start date
J

John

When I'm online and going to sites and click around the site, there are
times I see the URL looking like this?

www.sitename.com/?sessionId=1211212121212

and i see URL's like this alot for links, etc. How does this work and how is
it done?
I'm thinking of something like this for my site and I would like to keep the
page names hidden to the user but take them to the correct pages ..
 
This is generally referred to as "UrlRewriting". There's some support for
this built in to ASP.NET 2.0, and there are also some custom providers for
this for both 1.1 and 2.0 ASP.NET that you can find.
Peter
 
"Peter said:
This is generally referred to as "UrlRewriting". There's some support for
this built in to ASP.NET 2.0, and there are also some custom providers for
this for both 1.1 and 2.0 ASP.NET that you can find.

Beg to differ, but I don't think that's URL rewriting. This is a simple
use of query strings, in this case to hold a session ID.

URL rewriting is where you type (or click on a link to) something
like...

http://www.mydomain.com/FredSmith.aspx

and the server actually processes an URL like...

http://www.mydomain.com/ShowInfo.aspx?person=FredSmith
 

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

Back
Top