CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 How to excute custom code after login validation?

Print topic Send  topic

Author Message
Brent
Posted: 05/20/2002, 10:37 PM

CCS: I need to execute some code *after* the Login form has validated the username and password
against a Member table. The closest I've found is OnValidate. But this event executes before
validation.

Which event should I use? TIA


Alex Alexapolsky
Posted: 05/21/2002, 1:58 AM

Find where validation event is bound in the code of the page and insert your code
right in the code following it. CCS lets you add code without events
and changes are saved.
Brent
Posted: 05/21/2002, 7:08 AM

>>Find where validation event is bound in the code of the page and insert your code
>>right in the code following it. CCS lets you add code without events
>>and changes are saved.

Alex,
Ok, I found it. The event is automatically generated ("Login_DoLogin_OnClick()")
in Login_events.php (I didn't have to create it). This might be worth mentioning
(with an example) in the CCS manual so the user can add their own code when validation
fails or succeeds. I think this event could be used a lot. Thanks.

Brent

   


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

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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