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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 15:01:28 2024 UTC