HOWTO: Get Querystring Passed To Referring Page

D

Dan Sikorsky

How can I get the Querystring passed to the Referring Page from its
referrer?

I don't want the querystring coming to my current page. I want the
querystring that came to the referring page, so that I can check for the
existance of a parameter value in that previous querystring.
 
P

Paperback Writer

If the Querystring came from your referer page, just do the
Request.Querystring["your_var"]
What is the difficulty ? Sorry, could you explain again your doubt ?

All Querystring come from referring pages, just if you in your current page
do a Redirect with ?param=john to its own! understand ?
 
D

Dan Sikorsky

Please review what my posting is requesting: I don't want the Querystring
coming to my page; I want the Querystring that came to the referring page.
The referring page's referrer sent a Querystring; that's the one I need.

Origingal request:
"I don't want the querystring coming to my current page. I want the
querystring that came to the referring page, so that I can check for
the
existance of a parameter value in that previous querystring."



Paperback Writer said:
If the Querystring came from your referer page, just do the
Request.Querystring["your_var"]
What is the difficulty ? Sorry, could you explain again your doubt ?

All Querystring come from referring pages, just if you in your current page
do a Redirect with ?param=john to its own! understand ?

--
Please, check my theSpoke:
http://www.thespoke.net/MyBlog/dgroh/MyBlog.aspx

Dan Sikorsky said:
How can I get the Querystring passed to the Referring Page from its
referrer?

I don't want the querystring coming to my current page. I want the
querystring that came to the referring page, so that I can check for the
existance of a parameter value in that previous querystring.
 
C

clintonG

We can't get that value unless the 3rd party page page that refers to the
page that refers to your page has code that you control so you can capture
the value and pass it through to wherever you want Dan -or- if the owner of
the 3rd party page agrees to capture the value and pass it on to others. You
should also be advised that there's more than a half dozen reasons the
HTTP_REFERER server variable will never be populated with any data.

The HTTP_REFERER server variable can only be populated by a click event.

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/




Dan Sikorsky said:
Please review what my posting is requesting: I don't want the Querystring
coming to my page; I want the Querystring that came to the referring page.
The referring page's referrer sent a Querystring; that's the one I need.

Origingal request:
"I don't want the querystring coming to my current page. I want the
querystring that came to the referring page, so that I can check for
the
existance of a parameter value in that previous querystring."



Paperback Writer said:
If the Querystring came from your referer page, just do the
Request.Querystring["your_var"]
What is the difficulty ? Sorry, could you explain again your doubt ?

All Querystring come from referring pages, just if you in your current page
do a Redirect with ?param=john to its own! understand ?

--
Please, check my theSpoke:
http://www.thespoke.net/MyBlog/dgroh/MyBlog.aspx

Dan Sikorsky said:
How can I get the Querystring passed to the Referring Page from its
referrer?

I don't want the querystring coming to my current page. I want the
querystring that came to the referring page, so that I can check for
the
existance of a parameter value in that previous querystring.
 

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,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top