This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5065 - php session in URL
Summary: php session in URL
Status: RESOLVED INVALID
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: 0.8.1
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://who-are-the-mythbusters.net/in...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-21 00:50 UTC by Jordan
Modified: 2007-09-21 01:37 UTC (History)
0 users

See Also:


Attachments

Description Jordan 2007-09-21 00:50:34 UTC
Hello

In my site there are several URLs such as the following: index.php?type=main&action=login but every link fails due to some mysterious parameter that is somehow added: index.php?type=main&action=login&PHPSESSID=2ca6dd3b9cdb381623f60bb0ee0ad939

By viewing the source HTML directly you can see that no such PHPSESSID parameter exists in any of the urls.

Jordanwb
Comment 1 Olivier Thereaux 2007-09-21 01:37:40 UTC
(In reply to comment #0)

> In my site there are several URLs such as the following:
> index.php?type=main&action=login but every link fails due to some
> mysterious parameter that is somehow added:
> index.php?type=main&action=login&PHPSESSID=2ca6dd3b9cdb381623f60bb0ee0ad939

This parameter is added by your php session handler when a user agent is not accepting cookies. Try it: set up your browser to refuse cookies...

This issue with php coding has been documented at:
http://www.w3.org/QA/2005/04/php-session