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

Log In application

Thread began 10/05/2009 11:12 am by rogersds267040 | Last modified 10/06/2009 3:51 pm by rogersds267040 | 1281 views | 3 replies

Eric Mittman

Both of these scenarios will work out in a similar way. The idea is that on the login page you first will update the authenticate user server behavior. You will want to include these two columns in the set of session variables that are created on the last page of the server behavior.

Once the values are being stored in session variables you can then go into the Rules Manager and create new access rules for these values. You just have to setup the rule to look at the session variable and the value it is set to, if it is 'yes' for your first login rule then you would want to restrict access.

You will send the user to the profile page after they login. On the profile page you will need to have this rule applied. For the failed redirect on this page you would send them to the new password page.

The other part of this is going to be the update on the new password page. Along with the password you will need to update the first login column to be 'no'. The next time the user logs in they will go to the profile page and the rule will check to see if they have logged in already. If the column has been set to 'no' then they will remain on the profile page.

You would do a similar thing to activate/deactivate an account. Store the value from the column in a session variable on login. Then create a rule for not active users where you compare the value of the new active session variable. You then apply this rule to any page that you would like to restrict access to based on weather or not the user is active.

Please post back with any questions that you have about any part of this.

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