close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Help with Welcome Page

Thread began 4/29/2009 4:29 am by buonsen368464 | Last modified 5/12/2009 8:55 am by Ray Borduin | 3011 views | 5 replies |

buonsen368464

Help with Welcome Page

I have generated Registration page, login page and a Welcome page. If my client login, the client is redirected to the Welcome page. I would like to add to the Welcome page a script such that if the client successfully login, the client's First Name will appear at the top of the Welcome page such as "HELLO First Name" or "Welcome First Name". Any help?
Thanks in advance

Sign in to reply to this post

Ray BorduinWebAssist

The easiest way is to update your login page server behavior and add the first name as a session variable to be set at login. Then you can drag and drop it from bindings on any page where the user will be logged in.

Sign in to reply to this post
Did this help? Tips are appreciated...

buonsen368464

Thanks alot Ray. I am new to SA. how do I update the login page server behavior and how do I set the first name as a session variable at login? Can you please help me with a step by step procedure to achive this?
Thank you.

Sign in to reply to this post

Ray BorduinWebAssist

Double click on the authenticate user server behavior and go to the last page of the wizard where you can set the session variables. By default it is just the userID field.

Sign in to reply to this post
Did this help? Tips are appreciated...

pbennett348068

Passing session var

Originally Said By: Ray Borduin
  The easiest way is to update your login page server behavior and add the first name as a session variable to be set at login. Then you can drag and drop it from bindings on any page where the user will be logged in.  



I tried this, setting a session var for my DB field "firstname" drag/drop does not display the firstname on log in. I tried setting up a small form with a text field and using the dynamic link to the session variable firstname with same result; still blank.
Help .... thanks!

Sign in to reply to this post

Ray BorduinWebAssist

Make sure you have a call to
<?php
session_start();
?>

on top of the page before you try to show any session values on the page.

Sign in to reply to this post
Did this help? Tips are appreciated...

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