Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Impossible? [search.asp]
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

aspwiz
Junior Member

250 Posts

Posted - 30 October 2003 :  05:46:41  Show Profile  Visit aspwiz's Homepage
Hi...

I want to provide a link to a specific search... from what I see, the search.asp page does not use a http get, and I see now way of doing this...

I wanted to do something like : search.asp?mode=DoIt&searchterms=web+design+tool

Is this at all possible?

Edited by - aspwiz on 01 November 2003 04:09:22

aspwiz
Junior Member

250 Posts

Posted - 31 October 2003 :  05:16:05  Show Profile  Visit aspwiz's Homepage
I just want to be able to compose a querysting that has all the information within it to pass to search.asp so it can perform a search when the link is clicked..

Can this be done?

Edited by - aspwiz on 01 November 2003 04:08:42
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 01 November 2003 :  04:30:48  Show Profile
the easiest thing would be to add something like this near the top of search.asp:

strSearch = ""
if Request.Form("Search") <> "" then
	strSearch = Request.Form("Search")
elseif Request.QueryString("searchterms") <> "" then
	strSearch = Request.QueryString("searchterms")
end if

then change all existing instances of:
Request.Form("Search")
to:
strSearch


I haven't tested this, but it should work.
Go to Top of Page

Dave.
Senior Member

USA
1037 Posts

Posted - 01 November 2003 :  13:09:26  Show Profile
It's been done:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=43523&SearchTerms=search,url
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07