php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17857 Suggestion: able to transid event session not started
Submitted: 2002-06-19 23:54 UTC Modified: 2002-06-20 00:08 UTC
From: Xuefer at 21cn dot com Assigned:
Status: Wont fix Package: Session related
PHP Version: 4.2.1 OS: all
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Xuefer at 21cn dot com
New email:
PHP Version: OS:

 

 [2002-06-19 23:54 UTC] Xuefer at 21cn dot com
the problem is:
for cookie disabled browser, when transid relay to page(*.php) which don't start session, sid lost.

i suggest that add a config to php.ini
call "php_session_start_output_handler" even session not start in some page

this is useful for a FORUM which wanna track user online stat, and don't wanna bother with session in all pages

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-20 00:08 UTC] imajes@php.net
cookies != sessions.

if you have a cookie disabled browser, you can maintain session via G/P variables -- serverside.

we need less options for php.ini .. it's already huge! :)
 [2002-06-20 00:19 UTC] Xuefer at 21cn dot com
yes, i'm refering to G/P transid, not cookie

G/P is done by "php_session_start_output_handler"
if add option is not possible
may add a more function ?

session_start_transid_handler();
which call "php_session_start_output_handler" (session.c)
to install the inernal url scan for output handler
 [2002-06-20 00:22 UTC] Xuefer at 21cn dot com
mistype: to install the inTernal php_session_output_handler (url_adapt_ext_ex) AS output handler
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 15:01:27 2025 UTC