470,638 Members | 1,579 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,638 developers. It's quick & easy.

Server variable riddle - extract typed in querystring after url

Could someone help me figure out how to utilize .servervarialbles (or
another creative method) to do the following:

If someone types into browser (or clicks a querystring hyperlink) with the
following....

http://www.boat.com/?cat=CrazyHorse

....* Is it possible to extract the ?cat=Crazyhorse
from the typed in or clicked url when he reaches that root page?

I thought perhaps this could work but no:

CrewedCat = Request.ServerVariables("QUERY_STRING") Response.Write "
" & CrewedCat & "
"
Jul 19 '05 #1
1 2241
CrewedCat = Request.Querystring("cat")

--
--
Cheers!
SiteGuru
http://www.siteguru.co.uk
"jason" <ja***@catamaranco.com> wrote in message
news:eL**************@TK2MSFTNGP09.phx.gbl...
Could someone help me figure out how to utilize .servervarialbles (or
another creative method) to do the following:

If someone types into browser (or clicks a querystring hyperlink) with the
following....

http://www.boat.com/?cat=CrazyHorse

...* Is it possible to extract the ?cat=Crazyhorse
from the typed in or clicked url when he reaches that root page?

I thought perhaps this could work but no:

CrewedCat = Request.ServerVariables("QUERY_STRING") Response.Write "
" & CrewedCat & "
"

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

22 posts views Thread by Fawke101 | last post: by
6 posts views Thread by StephenMcC | last post: by
17 posts views Thread by TheMadHatter | last post: by
4 posts views Thread by Jozef Jarosciak | last post: by
7 posts views Thread by fox | last post: by
???
1 post views Thread by Stoney L | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.