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


Issue with MySQLi Authentication Script

Thread began 8/19/2016 6:56 am by Mark | Last modified 8/23/2016 12:50 pm by Ray Borduin | 254 views | 2 replies |


Issue with MySQLi Authentication Script


I have recently moved my domain - to a new cloud server (hybrid with Linus bias). Since then your MySQLi authentication script has been problematic. Most of the time it works (90% of the time) but on random occassions it doesn't. This is despite the same (and correct) user name and password being passed to the script. The script sometimes fails to authenticate despite the user record (that matches the user name and password) being there. It will work and then on the next try (with same user name and password) it may not authenticate (i.e. does not find the user record).

If I remove your authentication script and instead use a simple MySQLi query (using your query extension) it finds the record 100% of the time. Its only when I use the authentication script that it is temperamental.

No errors are presented. The authenticate fails gracefully like the record was not found. I have logged what is getting thrown at the script when it is successful and unsuccessful and on all occassions the user name and password are the same.

I wondered if you knew of any known issues on cloud hosting. Here is what my server is configured for...

Database client version: libmysql - 5.0.77
PHP extension: mysqli Documentation
PHP version: 5.3.3

Server type: MySQL
Server version: 5.6.30 - MySQL Community Server (GPL)
Protocol version: 10
Server charset: UTF-8 Unicode (utf8)

Hope you can help.



Sign in to reply to this post

Ray BorduinWebAssist

I have not seen that issue. It literally uses the recordset object code to find the record, so there shouldn't be a difference.

If you give me a url to reproduce I'll take a look and see if I can spot something.

Sign in to reply to this post


Hi Ray,

Thanks for the response. The problem with your authentication script is so random and rare that I don't think giving you a URL will enable you to witness it. I removed the authentication script and replaced it with a simple query (i.e. simply looking for a record where the user name and password presented to the select matched a record). This works 100% of the time. Your authentication script about 90% of the time and completely randomly.

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





Ease of use


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