From: [EMAIL PROTECTED] Operating system: RH linux 7.1 PHP version: 4.2.3 PHP Bug Type: Session related Bug description: Page expires when using sessions with file input
Try this : ********* BEGIN script.php ********** <?php session_cache_limiter('private'); session_start(); ?> <html> <body> <form method="post" action="script.php" enctype="multipart/form-data"> <input type="submit" name="sub" value="submit"> <input type="file" name="any" size="50"> </form> <br> </body> </html> ************** END ************ Now, just click "sumbit" a couple times and try to use yor browser "Back" button. The page will expire. To solve this, just change the following line : <input type="file" name="any" size="50"> to : <input type="file" name="" size="50"> Remember that when calling this script again you must change the way you called it at the first time, i.e., http://server.com/script.php?something . So, click "submit" a few times again and click "Back". At this time the page won't expire. I tryed this with IE 6.0 / Windows XP and IE 5.5 / Windows 98. Thanks for your support ! -- Edit bug report at http://bugs.php.net/?id=19818&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19818&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19818&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19818&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19818&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19818&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19818&r=support Expected behavior: http://bugs.php.net/fix.php?id=19818&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19818&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19818&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19818&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19818&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=19818&r=dst IIS Stability: http://bugs.php.net/fix.php?id=19818&r=isapi