Jump to content


Photo

search results problem


  • Please log in to reply
6 replies to this topic

#1 edg322

edg322
  • Members
  • PipPip
  • Member
  • 27 posts

Posted 12 October 2006 - 05:48 PM

Hello, I have a keyword that re-appears after a new search without a keyword takes place.  For example, I do search with keyword "books" in location "orlando" and run it.  Then I delete the word "books" and search again (keeping "orlando" for the location).  The new results are returned fine, but then when I click to look at the 2nd page of results from the new search, the "books" keyword reappears!  The content of new results don't actually change though.

I'm guessing the new search is taking that reappearing keyword from the adodb cache.  Any ideas or general suggestions?


#2 GremlinP1R

GremlinP1R
  • Members
  • PipPipPip
  • Advanced Member
  • 62 posts
  • LocationSouth Africa

Posted 12 October 2006 - 05:50 PM

Are you using sessions or cookies?

#3 edg322

edg322
  • Members
  • PipPip
  • Member
  • 27 posts

Posted 12 October 2006 - 05:52 PM

sessions

#4 GremlinP1R

GremlinP1R
  • Members
  • PipPipPip
  • Advanced Member
  • 62 posts
  • LocationSouth Africa

Posted 12 October 2006 - 05:54 PM

do you let the session self create the session name or are there a fixed session name.

#5 edg322

edg322
  • Members
  • PipPip
  • Member
  • 27 posts

Posted 12 October 2006 - 09:09 PM

fixed session name

#6 edg322

edg322
  • Members
  • PipPip
  • Member
  • 27 posts

Posted 12 October 2006 - 09:20 PM

somewhere I have _REQUEST['var_name'] being set by the session which populates the variable in the form.  I'm now trying to find where that is being set in the session ... maybe comment that out would solve this

#7 HuggieBear

HuggieBear
  • Members
  • PipPipPip
  • Advanced Member
  • 1,899 posts
  • LocationEngland, UK

Posted 13 October 2006 - 10:17 AM

How about showing us the code for the related pages...

Regards
Huggie
Advice to MySQL users: Get phpMyAdmin and test your queries work there first, take half the hassle out of diagnosis, also check the reserved words list.

Links: PHP Docs :: RegEx's :: MySQL :: DevGuru :: w3schools




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users