CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Login user box

Print topic Send  topic

Author Message
Don Johnson
Posted: 03/31/2004, 12:11 PM

I have been playing around with login script trying to figure out how I would show that the user succsessfully logged in.
One option would be once the user logged in the login dialog box disappered the other would be that the user gets a welcome message something like Welcome Back {user_id}

Anyone know how I would go about implementing this?
peterr


Posts: 5971
Posted: 03/31/2004, 3:13 PM

You could place both the Login link (or form) and some Label on the page.
Then if the user is logged in (for example if DBUtility.UserLogin is blank per http://docs.codecharge.com/studio/html/QuickStart/EnhAp...FieldValue.html ) then you can hide the Login link for example by making its value blank or hiding the whole Login form ( http://docs.codecharge.com/studio/html/ProgrammingTechn...ormControl.html ). Then put the appropriate message into the Label to display your Welcome message ( http://docs.codecharge.com/studio/html/ProgrammingTechn...ntrolValue.html )
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.