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 -> General/Other

 Sessions

Print topic Send  topic

Author Message
acedrummond


Posts: 90
Posted: 02/04/2015, 7:20 PM

I have a question relative to 'sessions.'

I was operating under the impression that a session was a 'browser' session and that each window had its own session ID such that session variables would only be available in the window in which it was opened thus if I had two windows open with the same screen program each would have its own independent values in the same named session variables.

They say you learn something every day and today - I think I found an issue that has hit me in the back of the head for quite some time.

I am using Windows 8.0 PHP and CCS 5.1.1

Session variables in one screen are available in a second window and even a second browser instance thus the session variables are being changed depending upon what the user is doing in each window.

I've written a few test programs and proven that this is the case! The same session ID is in each window on the same PC.

So to make sure that the issues presented by this session issue are not shared across windows I need to find a better way of passing values between screens and am thinking that passing parameters in the URL is a way to insure that the variables I am trying to pass do not go across browser windows or am I missing something?

The good news is that not too many users normally open the same application in multiple windows at the same time so the problems I've encountered are rare and rather contained.

I need to fix this problem and am looking for some input. Thanks//





_________________
Ace Drummond
View profile  Send private message
Oper


Posts: 1195
Posted: 02/08/2015, 9:10 AM

session work by Connection and it is passed to the other page in the same connection

http://www.w3schools.com/php/php_sessions.asp


Check this also:
http://php.net/manual/en/session.configuration.php#ini.session.save-path
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
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.