CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Set session in AfterInitialize of page

Print topic Send  topic

Author Message
BjornD
Posted: 06/17/2004, 5:15 AM

Hi,

My problem is as follows:

I set a session in the afterinitialize event of the page, and also use that session in one of the updateablegrids in that page in the where condition. The grid does not get the session, only when i refresh (F5) the page, does it get it.

Is there a reason for this? (Chain of events?)

Thanks.
peterr


Posts: 5971
Posted: 06/17/2004, 1:03 PM

Are you using any conditions in AfterInitialize to create your session?
Also test if the code works correctly and the session is created by setting and printing the session directly in the AfterInitilize event.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
BjornD
Posted: 06/17/2004, 11:17 PM

Thanks Peter,

Came in this morning, tried again, and it works!
Hmmmm, could maybe be because i creared my temp internet files???

Thanks.
peterr


Posts: 5971
Posted: 06/18/2004, 1:47 AM

Maybe the computer forgot how to create sessions, but at night it refreshed its memory and then remembered everything again :-)
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
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.