CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Weird session variable behaviour

Print topic Send  topic

Author Message
Vince
Posted: 03/15/2002, 4:29 AM

I need to get the UserID session variable written on my page. I was sure this was really straight-forward. As an example, here is the code I'm using in the BeforeShow event of the page:

$user = get_session("UserID");
echo $user;

and here is what I am getting on the screen as a result: 421421421421421421421421421421421421421421421421421 !!!!!

I have just installed CC2.0.5. Would this be the problem?
Any clue anybody?

Thx
Vince
Nicole
Posted: 03/15/2002, 6:10 AM

Vincent,
the value of session var is "421". While you've added print code to Before Show event it was printed in one line as many times as many records are in recordset.

   


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.