|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-01-06 22:47 UTC] yohgaki@php.net
[2002-01-07 06:34 UTC] yohgaki@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 08:00:02 2025 UTC |
This is the prepend for all of my files: // Start session $s_permission = false; @session_start(); session_register("s_permission"); $fallback = session_name()."=".session_id(); // Start output buffering ob_start("ob_gzhandler"); ob_implicit_flush(0); ---- This is the footer: ob_end_flush(); ---- The script output works, but the session id is not added to any URLs (if cookies are set off for sessions). When I remove the output buffering things turn out fine and the SESSION-ID is added to the URLs. I've tried to add <?=SID?> on each URL, but that didn't help either. I invented a variable called $fallback, and add this to each URL, but this can't be a perfect solution, as without output compression this is not necessary. Thanx Daniel