CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 create more session variables when logging in

Print topic Send  topic

Author Message
lachof

Posts: 14
Posted: 10/23/2008, 2:49 PM

Hello, i need to create several session variables with more data from the db when the user successfuly logs in the application so ther grids "read" this variables and query the db acordingly

Could someone shed some light ?

thnx in advance!
View profile  Send private message
Gena

Posts: 591
Posted: 10/23/2008, 3:17 PM

You can use CCS function like


$your_var = get this in some way;
CCSetSession("You_session_Label_nome", $your_var);
_________________
Gena
View profile  Send private message
lachof

Posts: 14
Posted: 10/23/2008, 3:55 PM

Thnx Gena... I am extremely new on this

In which event should this be done (using the login) ?
OnValidate?
After Select ???

thnx!
View profile  Send private message
Gena

Posts: 591
Posted: 10/23/2008, 4:16 PM

If you use standard Login form then you can see that login happened in Login_button - OnClick event: you can see Login action here. So add just Custom code after this event and put here appropriated code you need.
_________________
Gena
View profile  Send private message
cleyan


Posts: 136
Posted: 10/23/2008, 5:52 PM

remeber to verify successfully logon before asign the session variable
_________________
**************************************************
Carlos Leyan B.
Temuco, Chile
www.leytec.net
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.

Web Database

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.