Bug #15426 Updated: PHPSESSID appended causes error
| From: | shiflett@php.net | Date: | Fri, 08 Feb 2002 04:15:58 +0000 |
| Subject: | Bug #15426 Updated: PHPSESSID appended causes error | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-79638@lists.php.net to get a copy of this message | ||
ID: 15426
Updated by: shiflett@php.net
Reported By: php@barma.lviv.ua
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: Windows 98
PHP Version: 4.1.1
New Comment:
Why are you using JavaScript to write out a simple link? This just
causes confusion when you're trying to explain a bug.
To add PHPSESSID to your links, you want to place it in the query
string. So, make your link look like this:
<a
href="http://my.pages/test.php?a=10&PHPSESSID=1e9d0d00b8269ba57ac9f0203636307a"
target="_top">Test</a>
Hope that helps!
Chris
Previous Comments:
------------------------------------------------------------------------
[2002-02-07 07:03:26] php@barma.lviv.ua
When i start IE and load any my pages, i have error
code on first start, but only in on first start
PHPSESID added to all my lnks
in original -
<script language='JavaScript'>
document.write("<a href=\'http://my.pages/test.php?a=10\'
target=\'_top\'>Test</a>");
</script>
but in source i have
<script language='JavaScript'>
document.write("<a
href="\?PHPSESSID=1e9d0d00b8269ba57ac9f0203636307a"'http://my.pages/test.php?a=10\'
target=\'_top\'>Test</a>");
</script>
and this causes error
i have change in php.ini
session.use_trans_sid = 1
to
session.use_trans_sid = 0
but this is not work
i have change in php.ini
url_rewriter.tags =
"a=href,area=href,frame=src,input=src,form=fakeentry"
to
url_rewriter.tags = ""
but this is not work too
on Linux-server i have recompile without option -enable-trans-sid and
this work fine, but i dont find way to fix this problem on my
Windows-server
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15426&edit=1