close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

login

Thread began 8/26/2013 1:35 pm by Javier | Last modified 10/18/2013 11:18 am by Jason Byrnes | 2704 views | 16 replies |

Javier

login

I add to my database pcms2_users a field name Active

I want, when the user click the log in button if in the file active is a 1 they can enter to the download page


and popup a message than said you can enter to this page

Sign in to reply to this post

Jason ByrnesWebAssist

on the login page, edit the Authenticate user behavior to store the Active column in a session variable.

int he Security Assist rules manager create a new rule as:

Allow If
Session Active = 1

the use the security assist show region behavior to show the message.

Sign in to reply to this post

Javier

How I can made if the user enter the password incorrect more than one time how I can block that account

Sign in to reply to this post

Jason ByrnesWebAssist

you would need to hand code this.

On login failure, set a session variable to 1. if they fail the login again set that session to 2.

then use an if statement to hide the login form if the session is equal to 2.

Sign in to reply to this post

Javier

I create the
Security Assist rules manager create a new rule as:

Allow If
Session Active = 1

the use the security assist show region behavior to show the message.

but I have access to the download page

Sign in to reply to this post

Jason ByrnesWebAssist

you need to add the access rule to the download page.

Sign in to reply to this post

Javier

How I do that


I dont want the user enter to download page if he account is not actuve

Sign in to reply to this post

Jason ByrnesWebAssist

use the security assist access pages manager to apply the access rule to the download page.

Sign in to reply to this post

Javier

I add the rule

in the access pages manager

but I having access

Sign in to reply to this post

Javier

I check and the instruction that you gave me

I dont work
I continues having access to the download page

Sign in to reply to this post
loading

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