Blocking search results

This is a discussion on Blocking search results within the Macromedia Dreamweaver forums in Adobe Tools category; Hi Everyone I Have created a Mysql Database and web pages in DW. that people can search but I want the search results page only to be accessable after doing a search.I want to prevent people form being able to copy the search results web address and then using this to get back to the results.Once the results page as been left they require a new search. Regards Mark PS. sorry If I went round the hills to say what I was looking for.!!!!...

Go Back   Application Development Forum > Adobe Tools > Macromedia Dreamweaver

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 05-13-2008, 03:27 PM
markie12345
Guest
 
Default Blocking search results

Hi Everyone

I Have created a Mysql Database and web pages in DW. that people can search
but I want the search results page only to be accessable after doing a search.I
want to prevent people form being able to copy the search results web address
and then using this to get back to the results.Once the results page as been
left they require a new search.

Regards Mark

PS. sorry If I went round the hills to say what I was looking for.!!!!

Reply With Quote
  #2  
Old 05-13-2008, 04:05 PM
SnakEyez02
Guest
 
Default Re: Blocking search results

Well with your searching script you would need to do one of two things.

The first is require an active session to search. Then if the session is not
active (ie: has timed out), then the search will not be performed. An advanced
form of doing this would require a login to access the search form (although
you would want to disable cookies if you want to prevent bookmarking, this way
a new session has to be created each time).

The second is to hide what is being searched for by using the POST method as
opposed to the GET method of form submission. Then your search variables will
not show up in the address bar.

Reply With Quote
  #3  
Old 05-13-2008, 04:35 PM
markie12345
Guest
 
Default Re: Blocking search results

Hi and thanks for the reply.
The post method sound interesting.But post how do I use this as a search?

Mark
Reply With Quote
  #4  
Old 05-15-2008, 02:06 PM
markie12345
Guest
 
Default Re: Blocking search results

Could you please elabourate on using the post methed to search.Point me to a tutorial?

Mark
Reply With Quote
  #5  
Old 05-15-2008, 03:02 PM
JimTheC
Guest
 
Default Re: Blocking search results

On your form you need to change the method="get" to method="post"
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 04:21 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.