url structure

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

I ran accross a web site that included a url structured like the one below.
I use query string variables, but this looks different. Any ideas on how
this technique might be leveraged in general and the
advantages/disadvantages?

www.joeschmo.com/nav.aspx/page=/foo/bar.aspx

Thanks in advance.

Mark
 
Are you sure this is not :
http://www.joeschmo.com/nav.aspx?page=/foo/bar.aspx

Alos, it could use URL rewriting (ie. intercepting the http request to
direct then to a real page ie. www.mysite.com/personal/scribe could behind
the scene be transformed to reach a real page such
www.mysite.com/personal.aspx taking scribe to do a search in a database and
to display my profile).

The result is similar (the url is used to convey values) though this could
be more friendly than www.mysite.com/personal.aspx?id=<som crptic id>

Patrice
 
"/foo/bar.aspx" is just a QueryString() value, like anyother.
Most likely they are passing it to a Remote parser or doing a Redirect to
the value
 
Mark,

I've seen that done before also. I believe the concept originated in PHP
where a lot of a lot of the ASP.NET constructs don't exist. I see no point
to a navigation mechanism like that in ASP.NET, with Usercontrols,
HTTPModules, etc. Did you see anything special it did? I think there's
definately a better way to do it in .NET.

-- Alex Papadimoulis
 

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