php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9191 Problems when rejecting cookies
Submitted: 2001-02-09 07:24 UTC Modified: 2002-06-18 18:23 UTC
From: darren at cseltd dot net Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.0.4pl1 OS: Linux Mandrake 7.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
50 + 41 = ?
Subscribe to this entry?

 
 [2001-02-09 07:24 UTC] darren at cseltd dot net
In all instances I am using a simple templete class that prints the html.

Instance 1
=========
1 script which checks the username password, sets a session variable and displays a link. The link is coded in the html template with just the address being replaced dynamically. On successful login and rejection of the cookie the link is shown correctly with the session id attached.

Instance 2
=========
2 scripts. On successful logon a session variable is registered and then a redirection (using header function). Again cookie is rejected but no session id is passed to the 2nd script.

Instance 3
=========
As instance 1 but html containing links is generated using php and added to the template. On successful login and rejection of the cookie the links appear but do not have the session id attached to their URLs.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-20 13:52 UTC] sas@php.net
Rewriting HTTP headers such as Location has already been requested.
 [2002-06-18 18:23 UTC] sniper@php.net
No need to have many reports for same feature request.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 02:01:29 2024 UTC