close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

search filters showing previous

Thread began 3/17/2015 8:26 am by Kumel | Last modified 3/17/2015 3:46 pm by Kumel | 303 views | 5 replies |

Kumel

search filters showing previous

ref:http://eta-logistics.com/brokerage.php

search for boats.
when boats are been searched & then if page is closed & opened again then previous results are shown & not all results.

i dont want previous results to be shown. file attached.

Sign in to reply to this post

Jason ByrnesWebAssist

when a search is done, it is saved to a session, this is so that pagination can work properly.

you can add a reset results link to the page to clear the previous session, See this page for details on resetting the search results:
http://www.webassist.com/forums/showpost.php?p=93270&postcount=2

Sign in to reply to this post

Kumel

so it has to be made manually. by clicking.

i set up everything but bit confused here:
my page is: brokerage.php
which is here: http://www.eta-logistics.com/brokerage.php

now the session is:
WADbSearch1_brokerage_results

so to clear it must be : <a href="brokerage.php?reset=true">Clear Search</a>

or from above link given <a href="productsResults.cfm?reset=true">Clear Search</a>
for
on the results page add a link to clear the search passing the reset qurystring variable:
<a href="productsResults.cfm?reset=true">Clear Search</a>

in which my case will be : <a href="brokerage_results.cfm?reset=true">Clear Search</a>

So which one should be used.
when i used <a href="brokerage_results.cfm?reset=true">Clear Search</a>
page seems to break.

when i use this : <a href="brokerage.php?reset=true">Clear Search</a>

page reload but all results still not shown. so when i refresh all results are shown.

where m i wrong?

Sign in to reply to this post

Kumel

is this is the way then its good to have two different pages for it. one search page & another results page rather than everything in one page.

Sign in to reply to this post

Jason ByrnesWebAssist

yes, you can have the search and results page be separate.

just make sure the search form action is to go to the results page.

Sign in to reply to this post

Kumel

yeah have done that.

thanks anyways

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...