Search found 6 matches

by ryanwpatterson
Wed Oct 15, 2003 8:58 am
Forum: PHP - Code
Topic: Sharing Data Between Multiple Sessions
Replies: 4
Views: 794

Well, I was sorta limited as to what I could do because the hosting company sets all the configuration options. So, the way I worked around this for now (I intend to devise a better solution for the next release) was to add a function to my shopping cart object that stores the cart data to the datab...
by ryanwpatterson
Mon Oct 13, 2003 1:04 pm
Forum: PHP - Code
Topic: Sharing Data Between Multiple Sessions
Replies: 4
Views: 794

Sharing Data Between Multiple Sessions

I have developed a site that stores most data in the session object. We now have to implement a payment function that works over SSL. The secure pages are hosted on another server and we have no control over this. The result is that when we try to access data from these pages, they are running under...
by ryanwpatterson
Wed Sep 17, 2003 2:42 pm
Forum: PHP - Theory and Design
Topic: OOP session strategy brainfart
Replies: 17
Views: 14193

I am somewhat of a newbie to PHP, but am very experienced with OO. In the short time I have been using PHP, I have done what you're trying to do without any issues. I believe you need to include the definition of the class in every page that accesses the object, even when it's stored in the session....
by ryanwpatterson
Wed Sep 17, 2003 1:22 pm
Forum: PHP - Code
Topic: Triggering Session Events
Replies: 1
Views: 296

Triggering Session Events

Is there any way to trigger session level events in PHP? I'd like to store tracking data whenever a session is started without having to query the database on every page to see if the session ID has already been registered.
by ryanwpatterson
Wed Sep 17, 2003 10:59 am
Forum: PHP - Code
Topic: Peculiar Session Issue
Replies: 6
Views: 785

Thanks for the tip. So, session variables can be set on the fly without registration via $_SESSION['my_var'] = ...?
by ryanwpatterson
Wed Sep 17, 2003 10:10 am
Forum: PHP - Code
Topic: Peculiar Session Issue
Replies: 6
Views: 785

Peculiar Session Issue

I'm a Java developer who has FINALLY made my way into the realm of PHP and I am having a seemingly strange issue regarding session variables. Basically, I have created a simple controller class that redirects a user without setting http params by outputting javascript to change the page location. Th...