Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SCRIPT_NAME and QueryString Variables 1

Status
Not open for further replies.

fischadler

Programmer
May 31, 2002
258
MT
Is there some way to have the SCRIPT_NAME server variable to also return the query string name value pairs? Or is there some other server variable I should use for this task?
I have a dynamic page that shows different content according to the query string attached to it and I need to record what was attached when the page was accessed.

Thanks!

-Fischadler
 
HTTP_REFERER returns the refering page, not the page the code is in. I need the name of the page the user is in together with any parameters passed using a query string.

-Fischadler
 
SCRIPT_NAME + Request.QueryString

Known is handfull, Unknown is worldfull
 
That's exactly what I was looking for! Thanks vbKris!

-Fischadler
 
no problem...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top