ID: 15426 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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] [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php