Forums
This topic is locked
Linking to a generated search results page
12 May 2003 23:21:19 Rob Aubey posted:
Here is the basic problem. I have an .asp search page that is tied to an SQL database. After initiating the search and receiving back the results of the query on a separate results .asp page. I would like to be able to have an http ( or link that contains the needed information in the url to regenerate the same results) of the search available to send in an email. Currently there is no unique http address generated, ( the url in the browser window is that of the actual resluts page).
The main question is, How can I get a http link that is deliverable in an email for example, which will point back to the results of a query from a search and subsequent results page ? Is this even possible?
Please excuse my rookie language in these questions.
Thank you in advance, Rob
Replies
Replied 13 May 2003 15:11:54
13 May 2003 15:11:54 Jonathan Danylko replied:
Best way to do it would be to use the server variables, as shown below.
<%=Request.servervariables("SERVER_NAME" & Request.ServerVariables("URL"%>
L8R,
Vitoman, M CIW D, MMCP
<%=Request.servervariables("SERVER_NAME" & Request.ServerVariables("URL"%>
L8R,
Vitoman, M CIW D, MMCP