Jump to content

PHP Session - can you make them longer?


jawapro

Recommended Posts

Greetings all you smart people.

Can you help out a fool like me please.

I am using sessions for a PHP site - and I have two problems.

First, the people I am building the site for want the sessions to last longer. We are using a Host in America (we are in Australia) and cant just go and change the php.ini because it's not our server.

Is there another way of extending the sessions?


Second Problem. The server seems to run some sort of garbage collection at midnight (4 in the arvo for us) and for about 15 minutes, the sessions keep timing out after a few minutes. Very annoying. Is there a way to stop the sessions being killed like that?


Any advice would be very welcome.

Thank you all.

JawaPro
Link to comment
https://forums.phpfreaks.com/topic/27552-php-session-can-you-make-them-longer/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.