Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Usage of '/' in .aspx page url

0 views
Skip to first unread message

jsing...@gmail.com

unread,
May 7, 2008, 5:16:45 PM5/7/08
to
I was just browsing through Dell's website and saw usage of '/' after
the aspx page name(productdetails.aspx) in the url. e.g.:-
http://www.dell.com/content/products/productdetails.aspx/inspnnb_1720?c=us&cs=19&l=en&s=dhs&~ck=mn

I am only familiar with usage of the query strings using the following
format:-
'.../pagename.aspx?
<queryStringVariable1>=<Value1>&<queryStringVariable2>=<Value2>...'

Any idea about the usage of the former type? Does it has any specific
advantages?

Thanks in advance for the response.

nick chan

unread,
May 7, 2008, 10:24:56 PM5/7/08
to
those are called PathInfo
U can get them with Request.PathInfo

i dun see any advantages, except the URL looks more 'pretty'. Also it
could cause problem if ya have plenty of javascript
location.href="../" or <img src="../../"> stuffs like that, cause the
browser intrepets it as a directory

It is useful in Delphi webapp development.


On 8 Mei, 05:16, jsingh2...@gmail.com wrote:
> I was just browsing through Dell's website and saw usage of '/' after

> the aspx page name(productdetails.aspx) in the url. e.g.:-http://www.dell.com/content/products/productdetails.aspx/inspnnb_1720...

0 new messages