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

Alternative Redirect on Login

Thread began 7/22/2012 12:05 am by canmor51406258 | Last modified 7/24/2012 6:14 am by canmor51406258 | 1218 views | 4 replies

Jason ByrnesWebAssist

no, you cant have 2 redirects, but this can be done by setting a column in the users table to indicate whether they have performed the inert or not.

in the users table create a column named regComplete set the default value to 0

On the insert data page, update the regComplete column to 1 when the data is inserted.

On the login page, edit the Security Assist Authenticate user behavior, go to the Session Variables section and click the plus button, select the regComplete column to have it stored in a session on login, make note of the name that is used. also make note of the UserID session variable name.

For the sake of example, I am going to use "SecurityAssist_UserID" and "regComplete" going forward, you will need to make sure to use the correct session names when following the steps I outline

now you will need to create a new access rule, go to WebAssist -> Security Assist -> Manage Site Access -> Access Rules Manager

Set the name to Completed registration.

Create a condition, select the Restrict radio button. For Value, click the lightning bolt icon and select the SecurityAssist_UserID session variable binding. Set the Criteria to "=" and leave the compare to field blank.

Create another condition, select the Allow radio button. For Value, click the lightning bolt icon and select the regComplete session variable binding. Set the Criteria to "=" and set the Compare to field to 1

Now on the Update Data page, add the page access restriction to allow access only if the Completed registration rule passes.

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