> At 01:36 27.02.2003, Mr Percival said: > --------------------[snip]-------------------- > >What I was hoping to do was to be able to give a error message if the > server > >was having this problem, but in order to do that I was needing a way of > >knowing if it was because the session_start failed or users who didnt > have > >cookies turned on. > > > >I probably just need to get a new host since these disk full errors > happen > >regularly. :( > --------------------[snip]-------------------- > > session_start() cannot fail - the failure happens after the end of your > influence. > > Ask these guys at your webhost to move /tmp to another partition, or > _at_least_ to have session.save_path point to a partition that doesn't get > exhausted too quickly.
Or use session_save_path() in your script to use a directory of your own. Make sure you implement your own cleanup, though. ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php