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


"Welcome John Doe. View your Profile. Logout"

Thread began 4/07/2012 12:28 pm by elevy388997 | Last modified 4/09/2012 12:24 pm by toms016390756 | 860 views | 2 replies |

elevy388997Beta Tester

"Welcome John Doe. View your Profile. Logout"

How would I go about making a login form that once they are logged in, doesn't show the form any more but a welcome message with options to view/update their profile or logout (then once logged out, it shows the login form again).

I figured it would be a series of Show Behaviors but I have never messed around with that. I tried searching for something like this but didn't really know what words to search for.

I was thinking about making the default login.php function as described then use the framework plug-in to place it in the appropriate area of my site template so it shows up site wide.

Sign in to reply to this post

Jason ByrnesWebAssist

to show the users name, you will need to store it in a session variable. to do this, open the login page, go to the server behaviors panel and double click the Authenticate User server behavior. On the session variable tab, click the plus button and select the User First name and user last name columns.

You can then use the bindings for the first name and last name session variables to show them on your page along with the link tothe profile page

to show or hide areas of the page based on login state, use the security assist show region behavior (Window -> Security Assist - Show Region).

after adding the welcome message and links, select them and add the show region behavior using the "Logged Into <Your User table>" Rule (Where <Your User table> is the name of your user table).

to hide the form, select it, then apply the show region behavior using the "Not Logged into <Your User table>" rule.

Sign in to reply to this post



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





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