Can I pass a parameter without using ?value=123

R

Ronald S. Cook

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
 
H

Hans Kesting

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 Kestin
 

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

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top