#23681 [Opn->Asn]: Unclear error msg. when PHPSESSID manually deleted from URL by user

From: Date: Tue, 20 May 2003 08:16:52 +0000
Subject: #23681 [Opn->Asn]: Unclear error msg. when PHPSESSID manually deleted from URL by user
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40010@lists.php.net to get a copy of this message
ID: 23681 Updated by: derick@php.net Reported By: php at lapage dot com -Status: Open +Status: Assigned Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.3.1 -Assigned To: +Assigned To: sas New Comment: I'm all for making this a notice instead, assigning to Sascha as he's the maintainer of ext/session. Derick Previous Comments: ------------------------------------------------------------------------ [2003-05-18 10:41:04] php at lapage dot com Request for a better error msg. If the user disables cookies and changes the URL to http://domain.tld/form.php?PHPSESSID= Then the resulting Apache 1.3 error log reads: PHP Warning: session_start(): The session id contains illegal characters, valid characters are only a-z, A-Z and 0-9 in /zz/zzdomain/www/form.php on line 3 PHP Warning: Unknown(): The session id contains illegal characters, valid characters are only a-z, A-Z and 0-9 in Unknown on line 0 PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp_php/zzdomainzz) in Unknown on line 0 <?php session_start(); @$ct= ++$_SESSION['count']; echo<<<EOF [$ct]<br><form method="get"> See hidden input<input type="submit" name="submit" value="Test"></form> <a href="$PHP_SELF?foo=bar">See new href</a> EOF; ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23681&edit=1

« previous php.bugs (#40010) next »