close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Search terms not being retained when returning to the results page

Thread began 11/11/2018 4:59 pm by mrs | Last modified 11/13/2018 8:44 pm by Ray Borduin | 72 views | 5 replies |

mrs

Search terms not being retained when returning to the results page

The old DA search used to create a session that was retained whenever the user returned to the results page, ensuring the user didn't have to reenter the search term.

I did ask in a different thread sometime back, but I've been a bit busy and thought I'd create a new thread. Basically, you said it should still retain the search terms when a user returns to the results page, but mine isn't. Ordinarily, I would enable a user to manually kill the session in order to display all results again, but it's automatically displaying all.

So, how can I overcome this issue?

I've attached the results page with the search form in it. I have added @session_start(), but it didn't do anything.

Thanks.

Attached Files
rental-furniture.php
Sign in to reply to this post

Ray BorduinWebAssist

The session_start() shouldn't be needed (it is added automatically when needed).

Do you have the latest version of the rsobj.php file uploaded? If you give me FTP access and a URL to reproduce then I can debug it and get it fixed for you.

Sign in to reply to this post

mrs

Sorry Ray, I don't have it up on a live server yet due to the live site being in use. I don't want users finding half built pages yet.

I've found the rsobj file and it is v2.6. I've added it for you just in case it's of any use.

If there is a later version, can you send it to me please?

Thanks.

Attached Files
rsobj.php
Sign in to reply to this post

Ray BorduinWebAssist

The latest version is v2.20... I think v2.6 is a much earlier BETA version. I've attached the latest, but it would also be included if you reinstalled the extension and opened any recordset and clicked "ok"... that would overwrite your local version so it could be uploaded.

Attached Files
rsobj.php
Sign in to reply to this post

mrs

OK, Thanks Ray. I'll give that a go.

I've just noticed that the URL of older search pages showing results simply ends with .php. The newer version of search ends with .php?search=chrysler for example where chrysler is the search term.

I assume that's why I am not retaining the search crteria at the mo.

Sign in to reply to this post

Ray BorduinWebAssist

No that doesn't matter. That is just the difference between using a form method="post" or method="get"... The preferred method is get (like in the newer version where it appears in the url) so that the results can be shared or bookmarked. It is unrelated to the saved search since that should work with either method.

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...