close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

security Assist

Thread began 3/27/2010 11:47 pm by david331670 | Last modified 5/05/2010 8:01 am by Jason Byrnes | 2252 views | 6 replies |

david331670

security Assist

I bet its easy
BUT I cant get it
Once the user is logged in I would like to the users first name in a "Welcome (username) to my website.
I cant find anything to link the dynamic text to, All I manage to get is the name of the very first userID on my data base. Can you assist me with where I link the "dynamic text " to when user is logged in?
Ta very much

Sign in to reply to this post

Jason ByrnesWebAssist

On the log in page, double click the Security Assist Authenticate User server behavior.

On the third page, you can select database columns to store in session variables. Click the plus button and select the user First name column to store the users first name when they log in.

you can then add the user first name session variable to your pages to display the logged in users first name.

Sign in to reply to this post

david331670

security assist

Too easy.
right under my nose
Thank you

Sign in to reply to this post

pogro711404698

hello,

i want to do the same thing, what i would like to do is, once the user has logged in, i want his or her first name to be displayed on a certain part of each pages.

i followed the steps you made for david, now my problem is,

1. from my normal unlogged-in pages, i have this log in link.
2. now what i want to happen is, when user logs in, this link will be replaced to log out, and the users first name will be displayed.
3. how will i do that?

thanks

Sign in to reply to this post

Jason ByrnesWebAssist

to display the logged in users name, double click the Authenticate user server behavior on the Lofin page. Go to the third step of the authenticate user server behavior. Clic kthe plus button and select the users first name column to have it stored in a session variable.

On the page you wish to display the users first name, open the bindings panel and drag the first name session variable to your page.



for the log out link:
security assist will create a default "Logged Into <table name>" rule.

On your page, create the login and log out link.

Select the login link, then go to Insert -> WebAssist -> Security Assist -> Show Region. from the rules list, select the "Not Logged Into <table name>" rule.


Now select the logout link, then go to Insert -> WebAssist -> Security Assist -> Show Region. from the rules list, select the "Logged Into <table name>" rule.

Sign in to reply to this post

pogro711

hello,

i made the show region on the log out and log in links.

but i can't show or display the log out link even if i am logged in. pretty sure that i am already logged in cause the username of the logged in user shows but not the log out link that was made after the show region under "logged" into option.
pls. help

thanks

Sign in to reply to this post

Jason ByrnesWebAssist

please send a copy of the page where the link is not working and the WA_SecurityAssist folder so I can investigate.

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