php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #18563 Problem with Session ID as hidden POST Variable
Submitted: 2002-07-25 08:02 UTC Modified: 2002-07-25 08:10 UTC
Votes:1
Avg. Score:2.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: bruno dot baketaric at wob dot ag Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: 4.2.1 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-07-25 08:02 UTC] bruno dot baketaric at wob dot ag
Posting the (URL-based) session variable as hidden form value can lead into a problem if the user hits the Browsers RELOAD-button on the following page (usually some kind of "thank you"-page). In this case the session id is gone. 

Sure, this is no Problem if you use cookies - but well, I just hate them and quite often I even must not (!) use them.

Solution: make the session id be added to the action attribute of the form (again) when PHP is working in "trans-sid"-mode.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-25 08:10 UTC] sniper@php.net
Either add it manually or change the form=fakeentry to form=action in php.ini directive url_rewriter.tags


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 09:01:28 2024 UTC