| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| 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.!!!! |
|
#2
| |||
| |||
| 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. |
|
#3
| |||
| |||
| Hi and thanks for the reply. The post method sound interesting.But post how do I use this as a search? Mark |
|
#4
| |||
| |||
| Could you please elabourate on using the post methed to search.Point me to a tutorial? Mark |
|
#5
| |||
| |||
| On your form you need to change the method="get" to method="post" |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.