Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 09:20 AM
jason
Guest
 
Posts: n/a
Default 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 & "
"


  #2  
Old July 19th, 2005, 09:20 AM
SiteGuru
Guest
 
Posts: n/a
Default Re: Server variable riddle - extract typed in querystring after url

CrewedCat = Request.Querystring("cat")

--
--
Cheers!
SiteGuru
http://www.siteguru.co.uk
"jason" <jason@catamaranco.com> wrote in message
news:eLe8T4ynDHA.2456@TK2MSFTNGP09.phx.gbl...[color=blue]
> 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 & "
> "
>
>[/color]


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles