close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

registration page if duplicate, goto???

Thread began 3/02/2011 8:06 am by tonyk1973423186 | Last modified 3/03/2011 8:29 am by Jason Byrnes | 1234 views | 5 replies |

tonyk1973423186

registration page if duplicate, goto???

question.

i'm thinking of purchasing this extension, but i'm also looking to use it for insert or update pages too.

there is a screenshot for registration page, where if duplicate, go to:??? you can have mulitple columns to have this rule applied, correct?

as of now, dreamweaver only lets you run one check username in the server behaviors, you cannot have mulitple columns with this rule.

so i know this is a login and registration extension. but can i also use this for insert page or update page where if there are multiple columns with duplicate info, it will redirect???

or if this can't do it, does anyone know, thanks

Sign in to reply to this post

Jason ByrnesWebAssist

security assist uses the Dreamweaver Check new user name behavior for this, it has the same one column limitation.


you could do this using a recordset and the Server Validation beahviors in Form Toolkit though.


Create a recrdset that will filter the email column on the email form element, this will create a variable named:
$totalRows_<recordset_name>

where <recordset_name> name is the name of the recordset


create a second recordset to filter the other column on the coresponding form element.


when adding the server validation behavor, choose numeric validation, for the server variable, enter:
<recordset_name>

set the minimum number to -1 and the max to 0

add a second numeric validation for the second recordset using the <recordset_name> variable for that recordset.

this will pass validation only if those two recordsets are empty.

Sign in to reply to this post

tonyk1973423186

formtool kit, is that only for PHP?

i notice requirement is php and not for ASP/VB

thanks

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, form toolkit is for PHP only, we do not have a solution for this that will work in ASP.

Sign in to reply to this post

tonyk1973423186

thank you for the quick response, i do have one more question about security assist with cookies.

I created a login page. has just username and password.

once logged in, the following page currently i am passing a cookie by the username field. So it will say "Welcome Username"

Does security assist or any of your other extensions allow, if i login with username field, the following page can pull from the table their first and last name, displaying "Welcome Joe Smith" instead of "Welcome jsmith (username)"

thanks for the assistances

Sign in to reply to this post

Jason ByrnesWebAssist

on the login page, double click the Security Assist authenticate user behaivor. click next till you get to the third screen. On the third screen you can select database columns to store in a session variable on login, select the first and last name columns.

you can now use these session variables to how the users first and last name after they login.

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