close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Cannot protect a page by MySQLi authentication. Restricted page opens directly - does not open logon page first.

Thread began 2/24/2016 11:17 am by randyrie405335 | Last modified 2/25/2016 9:44 am by Ray Borduin | 1568 views | 5 replies |

randyrie405335

Cannot protect a page by MySQLi authentication. Restricted page opens directly - does not open logon page first.

[OSX 10.11.3, Dreamweaver CS6, Macbook Pro 15" Retina laptop, MySQLi 1.0.4]

I've added a MySQLi restrict access behavior to a php webpage but I am able to open it without via a link without it opening the logon page first. I'm attaching the logon and restricted pages for you to review. Please let me know what I'm doing wrong so these two pages work together properly.

Sign in to reply to this post

Ray BorduinWebAssist

The restrict access server behavior should use the trigger "before page loads" by using the trigger of the session variable it won't restrict access properly since that session variable won't exist so the check will never trigger.

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

randyrie405335

I changed the trigger to "Before page loads" but that did not help. I still can open the restricted page directly and without the logon page first displaying to initiate a logon.

Sign in to reply to this post

Ray BorduinWebAssist

Please attach a current copy of the restricted page with the server behavior applied before page load and I'll take a look.

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

randyrie405335

Here is the latest version of the restricted page.

Sign in to reply to this post

Ray BorduinWebAssist

It looks like that would work. Are you sure it was uploaded? Is there a URL where I can view the page?

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