473,378 Members | 1,447 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

url structure

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

Nov 18 '05 #1
5 1072
"/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

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Mark" <fi******@idonotlikejunkmail.umn.edu> wrote in message
news:e1**************@TK2MSFTNGP12.phx.gbl...
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

Nov 18 '05 #2
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

"Mark" <fi******@idonotlikejunkmail.umn.edu> a écrit dans le message de
news:e1**************@TK2MSFTNGP12.phx.gbl...
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

Nov 18 '05 #3
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

"Mark" <fi******@idonotlikejunkmail.umn.edu> wrote in message
news:e1**************@TK2MSFTNGP12.phx.gbl...
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

Nov 18 '05 #4
FYI
www.site/dir/?val=something will use the default page as a handler, but as
you pointed out he should still need the ? in it to indicate the start of
the QueryString

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Patrice" <no****@nowhere.com> wrote in message
news:ea**************@tk2msftngp13.phx.gbl...
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

"Mark" <fi******@idonotlikejunkmail.umn.edu> a écrit dans le message de
news:e1**************@TK2MSFTNGP12.phx.gbl...
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


Nov 18 '05 #5
Mark wrote:
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


This is probably going through a URL re-writing module. See:

http://msdn.microsoft.com/library/en...lrewriting.asp

for information on why you might want to do this and how.

--
mikeb
Nov 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: vikas | last post by:
I have following structure in c++. typedef struct MMF_result_struct { int action; char text; int cols,rows; int month,day,year; } MMF_result; Now this structure is shared between C++ and C#...
4
by: marco_segurini | last post by:
Hi, From my VB program I call a C++ function that gets a structure pointer like parameter. The structure has a field that contains the structure length and other fields. My problem is that...
8
by: Charles Law | last post by:
Can anyone suggest how I would marshal a variable length structure back from an API call. Specifically, I am looking at the WaitForDebugEvent function, which returns a DEBUG_EVENT structure. ...
15
by: Charles Law | last post by:
I have adapted the following code from the MSDN help for PropertyInfo SetValue. In the original code, the structure MyStructure is defined as a class MyProperty, and it works as expected. There is...
3
by: Kiran B. | last post by:
Hi, I am new to .net. I have two Data Structure Type ... Sturcture A and Structure B. Structure A Public Fname as String Public LastName as String Public City as String Public Zip as String...
14
by: Dennis | last post by:
If I have a structure like; Public Structure myStructureDef Public b() as Byte Public t as String End Structure If I pass this structure, will the values in the array b be stored on the...
10
by: David Fort | last post by:
Hi, I'm upgrading a VB6 app to VB.net and I'm having a problem with a call to a function provided in a DLL. The function takes the address of a structure which it will fill in with values. I...
11
by: Lance | last post by:
Hi all, I've got a some structures defined as ////// <StructLayout(LayoutKind.Sequential)Public Structure GM_LayerInfo_t Public mDescription As String Public mNativeRect As GM_Rectangle_t...
4
by: eBob.com | last post by:
In my class which contains the code for my worker thread I have ... Public MustInherit Class Base_Miner #Region " Delegates for accessing main UI form " Delegate Sub DelegAddProgressBar(ByVal...
5
by: =?Utf-8?B?QXlrdXQgRXJnaW4=?= | last post by:
Hi Willy, Thank you very much for your work. C++ code doesnot make any serialization. So at runtime C# code gives an serialization error at "msg_file_s sa = (msg_file_s) bf.Deserialize(ms);"...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.