Session lost issue

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
webstyler
Forum Commoner
Posts: 85
Joined: Sat Feb 14, 2004 2:16 am

Session lost issue

Post by webstyler »

Hello

We have a customer ecommerce write on Php that work fine until 1 week ago, when hosting is changed to new server.. ever php 4.4.7

From this date we have a big problem with session that is lost.. ID sessione seems change for any single page so data is lost.. :(

This there are any configuration in php that can be different from last server

We have really no idea to how solve this..

Tx
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

How are the sessions being created?
gestes
Forum Newbie
Posts: 5
Joined: Thu Dec 13, 2007 12:46 pm

How should they be started?

Post by gestes »

How should they be started? session_start()?

I am having a similar issue...
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

check your php.ini

Post by yacahuma »

did you tried any of this settings in php.ini
session.gc_maxlifetime
session.gc_probability
session.gc_divisor
Post Reply