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

 Login [Username with spaces still logs in. ]

Print topic Send  topic

Author Message
Visiomart

Posts: 13
Posted: 01/19/2011, 10:44 AM

After creating a user authentication in codecharge and asuming the username is admin and password being password
when you tried login in with admin with a space after it it stills login.
How can this bug be fixed.
_________________
Don Capone
View profile  Send private message
datadoit
Posted: 01/19/2011, 11:41 AM

That's because CodeCharge will strip the post (or get) parameters of any
whitespace, as it should. You don't want to get into a battle of not
stripping out whitespace of any and all posts.

If you must post the login form fields as they are due to whatever
constraints or requirements, you'll need to write your own login
functions and routines to bypass this behavior (ie: Don't use the
CCLoginUser() function).

It's not a "bug". It's a feature that all CodeChargers should appreciate.

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.