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

Login Issue

Thread began 5/23/2018 10:08 am by vernon webb | Last modified 5/23/2018 12:05 pm by Ray Borduin | 97 views | 3 replies |

vernon webb

Login Issue

I have new login pages created (forgive me if I posted this already as I thought I did but I can't find it) which work and allow me to log in. It redirects to the main.php page and after logging it I have the username session value echoed to the page, however it is displaying the record id and not the user name. When I check the bindings using DataBridge it says that it is indeed binded to the user name.

Sign in to reply to this post

Ray BorduinWebAssist

The username is being stored properly.

You were using code to display it:
echo $_SESSION['SecurityAssist_username'] > "<br />";

Which is displaying whether the value is greater than "<br />", which is doing an alphanumeric comparison and returning "1" for true.

Updating that line to:
echo $_SESSION['SecurityAssist_username'] . "<br />";

displays the username with the br tag appended.

Yes, you can just change the save as field name to whatever you want either in the code on the login page or through the UI.

Sign in to reply to this post

vernon webb

If I use the code on line 9 it thinks I'm not logged in.

Sign in to reply to this post

Ray BorduinWebAssist

That is because you have changed the session variable name and didn't update the security rule to match. Whatever you update the session variable name to has to be updated in the rule as well.

You can manually update that in the file: webassist/security_assist/helpergroupsrulesphp.php on lines 8 and 32.

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