Re:popup_init problem

From: Date: Sun, 06 Jan 2002 02:14:38 +0000
Subject: Re:popup_init problem
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2498@lists.php.net to get a copy of this message
Hello, I've the same problem than Spruce. After having dogged around in my js script I discovered that the first time a browser its my pages the url are of the form if (o3_css == CSSCLASS) closing = "<TD ALIGN=RIGHT><A HREF="\?PHPSESSID=34ca2dd6675d363b858fefbb19fffdca""/\" "+closeevent+"=\"return cClick();\" class=\""+o3_closefontclass+"\">"+close+"</A></TD>"; the "="equal" sign in the PHPSESSID fires a script error. Any idea to kill that beast ??? Luc At 22:30 16/11/01 +0000, Spruce Weber wrote:
[...] Our php is configured with trans-sid enabled. Everything works fine unless cookies are disabled or it is a browser's first hit at our website, in which case the inserted session id in the following overlib function causes an invalid character error... function ol_content_caption(text, title, close){ closing=""; if(close !=""){ closing="<TD ALIGN=RIGHT><A HREF="\?SID=c6733987a1b15fb62042b7e6ed711a45""/\" onMouseOver=\"cClick();\"><FONT COLOR=\""+oclosecolor+"\" FACE=\""+oclosefont+"\" SIZE=\""+oclosesize+"\">"+close+"</FONT></A></TD>"; }


« previous php.smarty.general (#2498) next »