473,387 Members | 1,904 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,387 software developers and data experts.

Can I pass a parameter without using ?value=123

Is there a way in ASP/IIS that I can communicate this link:

http://www.tournama.com/tournament.aspx?number=29384732

As this instead:

http://www.tournama.com/tournament.aspx/29384732

In other words, I can make the first work no problem. But these are links
that tournament managers will email around all the time, speak on the phone
to people, etc. So I was hoping I could make it a little more succint/easy
to communicate.

But wouldn't I need to have a folder by that number containing a
default.aspx page? I definitely do now want to have a folder for every
tournament created.

Thanks,
Ron
May 1 '07 #1
4 1099
Is there a way in ASP/IIS that I can communicate this link:
>
http://www.tournama.com/tournament.aspx?number=29384732

As this instead:

http://www.tournama.com/tournament.aspx/29384732

In other words, I can make the first work no problem. But these are
links that tournament managers will email around all the time, speak
on the phone to people, etc. So I was hoping I could make it a little
more succint/easy to communicate.

But wouldn't I need to have a folder by that number containing a
default.aspx page? I definitely do now want to have a folder for
every tournament created.

Thanks,
Ron
To read that part, see the Request.PathInfo property. According to the docs,
it should contain "/29384732", including the /!

I have never used in though.

Hans Kesting
May 1 '07 #2
You can make http://www.tournama.com/tournament.aspx?29384732
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Ronald S. Cook" <rc***@westinis.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
Is there a way in ASP/IIS that I can communicate this link:

http://www.tournama.com/tournament.aspx?number=29384732

As this instead:

http://www.tournama.com/tournament.aspx/29384732

In other words, I can make the first work no problem. But these are links
that tournament managers will email around all the time, speak on the
phone to people, etc. So I was hoping I could make it a little more
succint/easy to communicate.

But wouldn't I need to have a folder by that number containing a
default.aspx page? I definitely do now want to have a folder for every
tournament created.

Thanks,
Ron


May 1 '07 #3
google httpmodule and url rewriting

-- bruce (sqlwork.com)

Ronald S. Cook wrote:
Is there a way in ASP/IIS that I can communicate this link:

http://www.tournama.com/tournament.aspx?number=29384732

As this instead:

http://www.tournama.com/tournament.aspx/29384732

In other words, I can make the first work no problem. But these are links
that tournament managers will email around all the time, speak on the phone
to people, etc. So I was hoping I could make it a little more succint/easy
to communicate.

But wouldn't I need to have a folder by that number containing a
default.aspx page? I definitely do now want to have a folder for every
tournament created.

Thanks,
Ron

May 1 '07 #4
Ronald,
I've successfully used the UrlRewritingNet.UrlRewrite HTTP module to
accomplish this.
Check it out: http://www.urlrewriting.net/
--
Page Brooks
www.explosivedog.com
"Ronald S. Cook" <rc***@westinis.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
Is there a way in ASP/IIS that I can communicate this link:

http://www.tournama.com/tournament.aspx?number=29384732

As this instead:

http://www.tournama.com/tournament.aspx/29384732

In other words, I can make the first work no problem. But these are links
that tournament managers will email around all the time, speak on the
phone to people, etc. So I was hoping I could make it a little more
succint/easy to communicate.

But wouldn't I need to have a folder by that number containing a
default.aspx page? I definitely do now want to have a folder for every
tournament created.

Thanks,
Ron

May 2 '07 #5

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

Similar topics

4
by: Michael | last post by:
Hi, I am writting a ASP which will accept lots of data from user interface page. Is there a way that show me the each field or key name and value? For example; From the user interface page, ...
7
by: matthew_carver | last post by:
Hello, I have an ASP page that loops through a SQL Server 2000 table, then downloads an Excel sheet the users can save, etc. Works fine, except, I see that in one particular "comments" field the...
4
by: JC Voon | last post by:
Hi: I need to convert a value reading from XML file to specific type, the XMLstring is look like this: <Field1 DataType="System.Int32", Value="123"> Dim t As Type =...
2
by: tomromanul | last post by:
Hi all, I built a Windows Froms user control and I use it in IE 6+. It functions properly (it displays properly in IE and executes code, such as displaying a message box), except that in the web...
1
by: Bilal Bhutta | last post by:
Hello, I'm stuck on this problem for quite some time and hope somebody would be able to guide me. Basically, I need to populate a large number of "template" XML files which have all...
9
by: manstey | last post by:
Hi, My question probably reflects my misunderstanding of python objects, but I would still like to know the answer. The question is, is it possible for an instnace to have a value (say a...
5
by: MikeJ | last post by:
example below can we get a parameter by name or have to use the indexOf SqlCommand cmd = new SqlCommand("proc_ERRORLOG_INSERT", oConn); cmd.CommandType = CommandType.StoredProcedure; ...
2
by: Gaz | last post by:
Im trying to use c# and linq to simplfy searching through a listview but cannot get it to work can anyone help? here is what i got so far which doesnt work. var qry = from L in...
3
by: Roger Jordan | last post by:
Hello, I'm using a SQLDataSource with name SqlDataSource1, the DeleteCommand has a parameter, with isdefined in SqlDataSource.DeleteParameter: DELETE FROM WHERE =@ID The parameter is not...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.