#30220 [Opn->WFx]: trans_sid doesn't add PHPSESSID to javascript function windows.open()
| From: | iliaa@php.net | Date: | Tue, 28 Sep 2004 13:59:26 +0000 |
| Subject: | #30220 [Opn->WFx]: trans_sid doesn't add PHPSESSID to javascript function windows.open() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66800@lists.php.net to get a copy of this message | ||
ID: 30220
Updated by: iliaa@php.net
Reported By: sambukkaa at hotmail dot com
-Status: Open
+Status: Wont fix
Bug Type: Session related
Operating System: win2k Advanced
PHP Version: 5.0.1
New Comment:
Javascirpt is not supported as far as the addition of session ids to
urls goes.
Previous Comments:
------------------------------------------------------------------------
[2004-09-24 14:52:34] sambukkaa at hotmail dot com
Description:
------------
in php.ini file
When trans_sid=1
The url rewriter doesn't recognize the javascript function
windows.open();
if for example a popup function such as :
pop=open("somepage.php","window","toolbar=no,width=800,height=800");to
transfere the session id, one has to add it manually like this:
pop=open("somepage.php?PHPSESSID=<?=session_id()>","window","toolbar=no,width=800,height=800");}
Yes, there is an option in php.ini file named "url_rewriter.tags" and
as default it looks like this:
url_rewriter.tags =
"a=href,area=href,frame=src,input=src,form=,fieldset="
Unfortunately, there is nothing in documentations about how to add the
javascript function "open" into it.
I have tried many keywords such as open, windows.open .... and none
helped :(
It is not a bug this is only something missing in PHP 5.0.1.
This option was automatically working on versions ...3.32 I belive but
please don't take me by words.
I was sure that this function works so I have never suspected it.
I have wasted 2 weeks to find it out.
This report is similar but bot identical to the bug report #22111: URL
rewriter and Javascript
but function "windows.open" was not mentioned.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30220&edit=1