p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

  Return to Index  

proasp_howto thread: Includes and navigation (nav.asp?page=about)

Message #1 by "Christos Pappas" <christospappas@h...> on Fri, 16 Mar 2001 00:54:35
the querystring forms part of the request

therefore it is request.querystring

-----Original Message-----
From: Sam Pride [mailto:sammytrailor@y...]
Sent: Thursday, March 22, 2001 3:20 AM
To: How To
Subject: RE: Includes and navigation (nav.asp?page=about)

Well, This may help. Thjis should work If i am thinking along the same 
track as you.  Basically all this does is retrieves the querystring page 
and then redirects the user to that page. alternately, you could use 
Response.transfer and have the page return back to the redirection page 
when the code has finished executing.
  strPage = Server.QueryString("page") ' Is that right? or is it 
  Response.Redirect = strPage & ".asp" ' Request.QueryString ???

I am currently at university at the moment, and have forgotten the syntax 
for selecting the querystring.  The above example seems small to me, but 
THEORETICALLY should work. I am sure someone else could refine it, but if 
it does  work it is somewhat small than the other guy's sugestion. If you 
need more help email me, and I'll try to be at home when i answer it.

cathcya -- Sam
In a World without walls,  who needs WINDOWS???
When there are no fences , who needs GATES????
Scottish Enterprise Network

  Return to Index