Ask a Question related to PHP Development, Design and Development.
-
scot at goldentroll dot com #1
#24572 [Opn]: SID's appended to relative links upon first view regardless of cookies availabl
ID: 24572
User updated by: scot at goldentroll dot com
Reported By: scot at goldentroll dot com
Status: Open
Bug Type: Session related
Operating System: Apache
PHP Version: Irrelevant
New Comment:
to use this code i set session.use_trans_sid = off in htaccess (shared
server)
Previous Comments:
------------------------------------------------------------------------
[2003-07-09 21:32:29] scot at goldentroll dot com
Description:
------------
I am using the latest stable release 4.2.3
php_ini - session.use_trans_sid = on
Session id's are being appended to all relative links upon first view
regardless if cookies are available or not.
I can't read a cookie that has been set until the page is reloaded.
Reproduce code:
---------------
session_start();
if (!$PHPSESSID)){
// PHPSESSID is the session name-hence name of variable set in
session_start
ini_set('session.use_trans_sid', true);
}else {
ini_set('session.use_trans_sid', false);
}
Expected result:
----------------
I would like to know if cookies are available to a page when it loads.
I wish PHP did not append the links unless cookies are not available to
store the session id and value
Actual result:
--------------
(!$PHPSESSID) will always be true until the page is reloaded.
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=24572&edit=1[/url]
scot at goldentroll dot com Guest
-
Wrong relative links in Contribute
HELP!!!! Contribute not writing relative php include links correctly I have been using a lot of php includes lately that are on my many... -
site relative links
Is there a setting to have Contribute make all links in a site relative to the site rather than to the document as there is in Dreamweaver? I... -
Relative links
Hi there, I have "inherited" from an ex-colleague a pdf with links to other pdfs within the same folder. All the links in the document are... -
Site relative or document relative links prob.
Hi everyone, I have currently developed a new site within a sub directory of a site. I have used document relative links to test the site online... -
#24572 [NEW]: SID's appended to relative links upon first view regardless of cookies availabl
From: scot at goldentroll dot com Operating system: Apache PHP version: Irrelevant PHP Bug Type: Session related Bug...



Reply With Quote

