[PHP] Sessions

2004-12-01 Thread Gary Reimer
Hello everyone;
Could someone tell me how to control the life span of a session? I 
understand that a session can last for the time a browser is running or 
something less. It seems like the sessions on my website have a finite 
life span and I would like to be able to control it.

Thanks in advance,
Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] How to ensure cookies are turned on.

2004-11-29 Thread Gary Reimer
Hello;
Im working on a website that uses sessions as an integral part of the 
site. If cookies are not turned on in the browser, my site will not 
work. Ive been searching unsuccessfully to find the way to determine 
if the browser has cookies enabled.  I want to warn the user that the 
site wont work if they have cookies turned off. There must be some 
global variable that tells me. Could someone help me out?

Thanks in advance,
Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php