Search functionality on the home page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello

I am trying to implement 'Search' (Basic Keyword search) functonality on a site. Home page has a search text box and a 'GO' button. When users will type in a keyword and presses 'GO', URL has to be refreshed with the 'Search Page' URL [So I am eliminating Server.Transfer] and results must be displayed. My customer does not like search terms to be passed through the URL [So passing data through QueryString is eliminated]. Is there anyway that I can accomplish this without the use of Session variables

Appreciate your help

Thanks - Brian
 
Brian,

The easiest way would be to store the search words in a session variable
from within the "Go" button's click event. Then redirect to the search page
and retrieve the search words from the session variable.

Another option would be to store the search words in a cookie on the client
machine and again retrieve them on the search page.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche


Brian said:
Hello,

I am trying to implement 'Search' (Basic Keyword search) functonality on a
site. Home page has a search text box and a 'GO' button. When users will
type in a keyword and presses 'GO', URL has to be refreshed with the 'Search
Page' URL [So I am eliminating Server.Transfer] and results must be
displayed. My customer does not like search terms to be passed through the
URL [So passing data through QueryString is eliminated]. Is there anyway
that I can accomplish this without the use of Session variables?
 
Back
Top