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

autologin after registration or email verification.

Thread began 3/03/2013 10:00 pm by mbunal | Last modified 3/06/2013 10:28 am by mbunal | 782 views | 3 replies


Originally Said By: designerwest
  Hi there, quick answer via the WebAssist Security Assist Authenticate User from the server behaviours panel and use the form fields as the binding values :)

The simple way to look at it is that technically you have already entered the login/password credentials already on the page (the user registration form)

So you already have the form bindings for that for example on the form you will have a text box.

For example:
<input name="email" type="text">
<input name="password" type="password">

So the binding to use in the Security Assist Authenticate User behaviour would be:
<?php echo ((isset($_POST["email"]))?$_POST["email"]:""); ?>

The Password binding would be something like (using encryption as well)
<?php echo WA_MD5Encryption(((isset($_POST["password"]))?$_POST["password"]:"")); ?>

The code order would be something like:
WA Server Validations (optional of course)
Insert Record
Universal Email
Security Assist Authenticate User
<-then your registration form code here->

Just make sure there are no page redirect in the Insert Record behaviour otherwise it wont carry on below where you want the security assist authenticate user to run.

In the panel for security assist authenticate user:

General Tab:
1.Trigger would be your form button
2. if login succeeds your secured page
3. if login fails then a login page.

Database Tab:
1. Click on the PLUS icon and select username and then password
2. populate the values of username and password with the bindings from the form

Session Values Tab:
1. Click the PLUS icon and select what ever sessions you want to be created that then can be used once the user has successfully logged in.

I hope this all makes sense and helps


thank you Chris. It worked.

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