By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,731 Members | 1,139 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,731 IT Pros & Developers. It's quick & easy.

HOWTO: Get Querystring Passed To Referring Page

P: n/a
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.

Nov 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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" <Da**********@fullspectrum.net> escreveu na mensagem
news:OQ****************@TK2MSFTNGP10.phx.gbl...
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.

Nov 19 '05 #2

P: n/a
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" <ne*********@gmail.com> wrote in message
news:uT**************@TK2MSFTNGP15.phx.gbl...
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" <Da**********@fullspectrum.net> escreveu na mensagem
news:OQ****************@TK2MSFTNGP10.phx.gbl...
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.


Nov 19 '05 #3

P: n/a
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" <Da**********@fullspectrum.net> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
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" <ne*********@gmail.com> wrote in message
news:uT**************@TK2MSFTNGP15.phx.gbl...
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" <Da**********@fullspectrum.net> escreveu na mensagem
news:OQ****************@TK2MSFTNGP10.phx.gbl...
> 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.
>
>
>



Nov 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.