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

 ::: Session Data Lost on Page Refresh

Print topic Send  topic

Author Message
klwillis


Posts: 428
Posted: 12/01/2004, 11:43 PM

Very strange problem.

>>If I initially load the page, all session data is shown ...

f2e3e7616bcda16184655d4ad927fba2 <-- (Session ID)
10000 --- a --- 2 --- (Irina)


>>If I reload (refresh) the same page, ONLY the last session
variable - a string - is no longer set:

f2e3e7616bcda16184655d4ad927fba2 <--- (Same Session ID)
10000 --- a --- 2 --- (Object) <-- (ONLY last session var is not set)


Any ideas on what might be causing this would
be greatly appreciated. :-)

_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"

Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006
View profile  Send private message
mrachow


Posts: 509
Posted: 12/02/2004, 1:01 AM

Whats the name of this session variable?
_________________
Best regards,
Michael
View profile  Send private message
klwillis


Posts: 428
Posted: 12/02/2004, 8:37 AM

$_SESSION['MemberName']

Is there something special about the name? ... ;-)

Quote mrachow:
Whats the name of this session variable?

_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"

Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006
View profile  Send private message
mrachow


Posts: 509
Posted: 12/02/2004, 9:25 AM

:-(
It was my idea that it could be some kind of internal used thing.
For example when dealing with classes maybe MemberName is used by the curreent instance variable.
Some of that kind.

It seems that there is an objects stored.
Isn't possible do query that object by calling some methods that every object in PHP has?
Maybe value aso.
Only to come a little bit more close to what is stored there.

_________________
Best regards,
Michael
View profile  Send private message
klwillis


Posts: 428
Posted: 12/02/2004, 9:59 AM

Good point ;-), but it appears the session data is being
overwritten somehow.

The '[1]' indicates that the session variable is active.

So, the session variable $_SESSION['MemberName']
is active, but the value how now been overwritten somehow.

>> Initial Page Loading
1b71a95619895aad42693cd5725a1c1c
10000 --- [1] a --- [1] 2 --- [1] (Irina) [1]

>> Page Refresh
1b71a95619895aad42693cd5725a1c1c
10000 --- [1] a --- [1] 2 --- [1] (Object) [1]

Quote mrachow:
:-(
It was my idea that it could be some kind of internal used thing.
For example when dealing with classes maybe MemberName is used by the curreent instance variable.
Some of that kind.

It seems that there is an objects stored.
Isn't possible do query that object by calling some methods that every object in PHP has?
Maybe value aso.
Only to come a little bit more close to what is stored there.


_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"

Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006
View profile  Send private message
klwillis


Posts: 428
Posted: 12/02/2004, 6:20 PM

Found out I had a page control with the same name which
was causing the conflict. ;-)

Strange thing is, I only saw the problem on the server, everything
worked fine locally.

_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"

Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006
View profile  Send private message
Damian Hupfeld
Posted: 12/03/2004, 12:03 AM

Server is possibly Apache and locally might be IIS?
Might treat the names differently?

"klwillis" <klwillis@forum.codecharge> wrote in message
news:541afcd769a67b@news.codecharge.com...
> Found out I had a page control with the same name which
> was causing the conflict. ;-)
>
> Strange thing is, I only saw the problem on the server, everything
> worked fine locally.
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

mrachow


Posts: 509
Posted: 12/03/2004, 12:55 AM

Quote :
Strange thing is, I only saw the problem on the server, everything
Maybe its simply a timing issue.

When used for building the page the session variable is set as you expect later it's overwritten!?
_________________
Best regards,
Michael
View profile  Send private message
klwillis


Posts: 428
Posted: 12/03/2004, 7:33 AM

Damian, I believe you are right.

mrachow, thanks for getting me thinking in the right
direction on this one. ;-)

My local server is IIS, not Apache.

I have Apache 2.0 running on the dedicated (Linux-based) server.

Strange though, how a session variable is being
overwritten by a Code Charge Studio memory variable.

This seems like a memory configuration issue with Apache
that I'll need to resolve at some point - very odd.

Quote Damian Hupfeld:
Server is possibly Apache and locally might be IIS?
Might treat the names differently?

"klwillis" <klwillis@forum.codecharge> wrote in message
news:541afcd769a67b@news.codecharge.com...
> Found out I had a page control with the same name which
> was causing the conflict. ;-)
>
> Strange thing is, I only saw the problem on the server, everything
> worked fine locally.
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


;-)
_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"

Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006
View profile  Send private message
Damian Hupfeld
Posted: 12/04/2004, 4:03 AM

I am using same setup, local IIS and Apache server. For some stupid reason
in one project I created a page name that was same or similar to a
codecharge component and it would work locally but not on the server...

regards
Damian Hupfeld
http://www.itng.com.au/services.php


"klwillis" <klwillis@forum.codecharge> wrote in message
news:541b0873664b2c@news.codecharge.com...
> Damian, I believe you are right.
>
> mrachow, thanks for getting me thinking in the right
> direction on this one. ;-)
>
> My local server is IIS, not Apache.
>
> I have Apache 2.0 running on the dedicated (Linux-based) server.
>
> Strange though, how a session variable is being
> overwritten by a Code Charge Studio memory variable.
>
> This seems like a memory configuration issue with Apache
> that I'll need to resolve at some point - very odd.
>
>
Quote Damian Hupfeld:
> Server is possibly Apache and locally might be IIS?
> Might treat the names differently?
>
> "klwillis" <klwillis@forum.codecharge> wrote in message
>news:541afcd769a67b@news.codecharge.com...
>> Found out I had a page control with the same name which
>> was causing the conflict. ;-)
>>
>> Strange thing is, I only saw the problem on the server, everything
>> worked fine locally.
>>
>> ---------------------------------------
>> Sent from YesSoftware forum
>> http://forums.codecharge.com/
>>
>
>
>
> ;-)
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

klwillis


Posts: 428
Posted: 12/04/2004, 11:32 AM

That isolates it to the web server.

Thanks for the info. ;-)

Quote Damian Hupfeld:
I am using same setup, local IIS and Apache server. For some stupid reason
in one project I created a page name that was same or similar to a
codecharge component and it would work locally but not on the server...

regards
Damian Hupfeld
http://www.itng.com.au/services.php


"klwillis" <klwillis@forum.codecharge> wrote in message
news:541b0873664b2c@news.codecharge.com...
> Damian, I believe you are right.
>
> mrachow, thanks for getting me thinking in the right
> direction on this one. ;-)
>
> My local server is IIS, not Apache.
>
> I have Apache 2.0 running on the dedicated (Linux-based) server.
>
> Strange though, how a session variable is being
> overwritten by a Code Charge Studio memory variable.
>
> This seems like a memory configuration issue with Apache
> that I'll need to resolve at some point - very odd.
>
>
Quote Damian Hupfeld:
> Server is possibly Apache and locally might be IIS?
> Might treat the names differently?
>
> "klwillis" <klwillis@forum.codecharge> wrote in message
>news:541afcd769a67b@news.codecharge.com...
>> Found out I had a page control with the same name which
>> was causing the conflict. ;-)
>>
>> Strange thing is, I only saw the problem on the server, everything
>> worked fine locally.
>>
>> ---------------------------------------
>> Sent from YesSoftware forum
>> http://forums.codecharge.com/
>>
>
>
>
> ;-)
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>



_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"

Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006
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.

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.