CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> Wishes

 change to CCLoginUser() function

Print topic Send  topic

Author Message
Nitedula


Posts: 22
Posted: 07/12/2006, 2:04 PM

Hi!

as you can see here "Logout ( niTeDuLa )" even this forum uses the "ugly" CCLoginUser() function.

after login the Session holds the login name as you typed it at login ... why not get the login name from the DB --> so I would always be "Nitedula" und not "niTeDuLa" or what ever I typed into login field ??

why not replace this line in the CCLoginUser() function
  CCSetSession("UserLogin", $login);

with a
$db->f()
??

TIA
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 07/12/2006, 6:39 PM

Nitedula
You could just use a string function to put the UserLogin into Upper Case (the whole word or just the first character). This would solve your issue. Just a suggestion.
View profile  Send private message
Nitedula


Posts: 22
Posted: 07/13/2006, 12:50 AM

Quote mamboBROWN:
Nitedula
You could just use a string function to put the UserLogin into Upper Case (the whole word or just the first character). This would solve your issue. Just a suggestion.

yes that might work for some names, but not even for your name.
I already did several projects where I had to "override/exchange" CCS functions ... as this is the "wishes" section I just thought I should post that wish ...

I do the following: comment out CCS's CCLoginUser() function in the Common.php and code my own (with more session vars, remember my login option and so on) --> see it here: http://www.christof.ressel-online.com/new_members/

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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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