close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Strange Recordset Results

Thread began 6/15/2018 12:22 pm by vernon webb | Last modified 6/19/2018 10:11 am by Ray Borduin | 1252 views | 5 replies |

vernon webb

Strange Recordset Results

I have a recordset that I want the results to be based on the user that is logged in ($_SESSION['SecurityAssist_customers_id']) and I put it on a form field from the search page and you you search it's fine. However, if I were to simply go to the results page it shows every record (including other customers which we do NOT want. I always want the results to be based on the session variable but when I went into the search behavior and added it there, it didn't really seem to work. I tried browsing to the session, entering manually, not really sure what to do. It should be based on the customers_id column

Sign in to reply to this post

Ray BorduinWebAssist

Use the session variable directly in the Recordset by adding a where clause and recordset parameter... not as part of the search at all.

Sign in to reply to this post
Did this help? Tips are appreciated...

vernon webb

This post has been deleted.

vernon webb

I added it but have a blank page now. Not sure what's wrong.

Sign in to reply to this post

vernon webb

I've tried everything and no matter what I try I wind up breaking the page. I've restored to the old page. Would you mind having a look please?

Sign in to reply to this post

Ray BorduinWebAssist

I've updated the page. Please download it. You will want to add a check to make sure someone is logged in before viewing the page since you are filtering by the session variable that won't be set if they haven't logged in.

Sign in to reply to this post
Did this help? Tips are appreciated...

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