close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Authenticate against query

Thread began 8/01/2019 11:52 am by davidgard | Last modified 8/06/2019 10:05 am by Ray Borduin | 502 views | 5 replies |

davidgard

Authenticate against query

Can you authenticate against a query or a view instead of a table in MySQLi Server behaviors or security assist?
I have a condition that needs to be joined with another table to authenticate against.

Sign in to reply to this post

Ray BorduinWebAssist

I think a view should work. Have you tried? If it doesn't show in the list of tables in the user interface then you should be able to change the table name to the view name in the code after application and it would work.

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

davidgard

authenticate against a MySQL view

the view populates in the wizard as an available choice of tables to authenticate against, but it does not work.
I have confirmed the view works in MySQL and by displaying the results of the recordset for (SELECT * FROM v_users) on the page.
if I change the table back to the real users table, it works fine.

This works: $Authenticate->Table = "users";
This doesn't: $Authenticate->Table = "v_users";

Is there a syntax to authenticate against a query instead of a Table?

Any ideas?

Sign in to reply to this post

Ray BorduinWebAssist

It should work the same way. I'd need to debug it. Do you get an error, or the authentication just fails? Can I get FTP access and a URL to reproduce this issue. Please include a username and password to test with so I can see the problem while debugging.

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

davidgard

FTP Details

PM Sent

Sign in to reply to this post

Ray BorduinWebAssist

I've added you to my skype contacts and tried calling. Please message me in Skype when you are in front of your computer and we can look into your issues.

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