Advertisement

09.05.2006 at 05:48AM PDT, ID: 21978232
[x]
Attachment Details

PHP session variables leaking

Asked by purpose in PHP Scripting Language

Tags: session, variable, leaks

Hi,

I'm using session variables to store user information from a registration page, their name, address etc. Occasionally users will see other peoples information in their input data fields when they arrive at the registration page, these people are always on the server at the same time.

The server is shared and seems to be suffering from over crowding, pages sometimes take up to 30 seconds to load.

I need to figure out if its the busy server which is leaking the information or the code I am using which is causing them.

The code is from a wordpress plug-in, an example of the user registration page can be found here:

http://www.instinct.co.nz/?page_id=66&total=100

The source code for the page can be found here:

http://pastebin.ca/161450

The page is submitted to a function where the user data is stored in the session variables, the source code for it is here:

http://pastebin.ca/161446

Can anyone see where the session leaks might be occurring within the code?
How can I determine if its the server which is causing the problem??

Thanks in advance.
Michael.


-=-=-=-=-=
The server is running PHP Version 4.3.10-16Start Free Trial
[+][-]09.05.2006 at 06:23AM PDT, ID: 17455417

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: PHP Scripting Language
Tags: session, variable, leaks
Sign Up Now!
Solution Provided By: hernst42
Participating Experts: 4
Solution Grade: B
 
 
[+][-]09.05.2006 at 06:47AM PDT, ID: 17455597

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.05.2006 at 06:54AM PDT, ID: 17455656

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.05.2006 at 09:13AM PDT, ID: 17456873

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.06.2006 at 11:47AM PDT, ID: 17465341

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.05.2006 at 06:49AM PDT, ID: 17668494

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32