Bug #29021

PHPSESSID is displayed in browser URL

Added by Mark over 10 years ago. Updated over 10 years ago.

Must have
Target version:
Start date:
Due date:
% Done:


Estimated time:
TYPO3 Version:
PHP Version:
Is Regression:
Sprint Focus:


After upgrading to typo3 4.5.4 the PHPSESSID is append the url in the browser. It happens first time the site was visited. The PHPSESSID will also append at the end of every link on the page. This will cause non valide Code. Beyond search engines will save the same content with different links include the PHPSESSID. This may cause bad handling by google and Co.

After changing the t3lib to old version (4.5.3) the problem disappears.

Related issues

Is duplicate of TYPO3 Core - Bug #28900: All links have Parameter PHPSESSID at first load of website URLClosedManfred Langhammer2011-08-10


Updated by Chris topher over 10 years ago

  • Status changed from New to Needs Feedback

We had this issue already recently.

Try the search in the upper right corner!

Edit: It's #28900.


Updated by Mark over 10 years ago

Sorry you're right, i didn't use the search.
Though can't understand why the descriped issue is closed! I'm sure you know that enabling session.use_only_cookies = 1 will have the affect, that users with cookies disabled, will have many problems on websites which needs session. Front End Login, Shop baskets and many more features won't work correctly. In germany, big enterprises have cookies disabled by default and their employees can't change this for security reasons. I know that most clients have cookies enabled, but what's about all those, who can't change the values?
Another problem is, that search engines will devalue sites, which have many links to one same site content with session ID's in the directory.

Please take a minute and think about it. Is the descriped solution really best. I'm sure there will be many Typo3 developer in the world who will have many trouble with their customers!

Thanks for regarding.



Updated by Philipp Gampe over 10 years ago

No cookies, no session (=no login). However, you will be able to use the site just like any site on the web. You just can not login without cookies.

AFAIK, TYPO3 login does not work without cookies at all. Although, I remember a setting in Install Tool which might help you with FE user login.

Anyway, I don't know if a PHP session is required for a TYPO3 session.


Updated by Jigal van Hemert over 10 years ago

  • Status changed from Needs Feedback to Closed

In the duplicate issue there is enough explanation how to "fix" it. One way is to use a setting in TYPO3 and the other a PHP configuration setting. Both things can not be automatically controlled by the TYPO3 code.
It is not uncommon for PHP application to start a session; the way the session ID is communicated to the next page is controlled by PHP (and its configuration).

Also available in: Atom PDF