From: <php...@li...> - 2006-11-08 16:39:16
|
Please ignore - an Acegi security issue and an HTTP 302.=0A=0A----- Origina= l Message ----=0AFrom: Paul Feaviour <pa...@ya...>=0ATo: php-java-b= rid...@li...=0ASent: Wednesday, 8 November, 2006 3:33:= 20 PM=0ASubject: Cannot redeclare get_cookies()=0A=0AHi, =0A =0AI am develo= ping on a Windows box and things appear to be working as expected. =0A=0A= Our staging box, however, is a Linux box with all the same versions of Php,= Apache and mod_jk - deploying to this box I get the following errors when = I access a particular page: =0A =0A Fatal error: (previously declared = in cookies:1) in cookies on line 2 =0A =0A Warning: Cannot modify header = information - headers already sent in setResultWith_cookie on line 4 =0A = =0AThe Fatal error is because of the line =0A =0A$session =3D java_session(= ); =0A =0AThis is the first line in my php file after <?php. I have read t= he documentation on java_session and have made sure that in my php.ini file= the setting: output_buffering=3DOn.=0A=0AIf I login in to my application (= j2ee app) then try accessing this file again it works fine. I need to be a= ble to tell whether or not I have logged in via php into the j2ee app, one = of the reasons for me using this bridge.=0A=0AAny help much appreciated.=0A= =0APaul=0A=0A=0A=0A=0A =0A__________________________________________= _________________ =0ATry the all-new Yahoo! Mail. "The New Version is radic= ally easier to use" =96 The Wall Street Journal =0Ahttp://uk.docs.yahoo.com= /nowyoucan.html=0A=0A=0A=0A=0ASend instant messages to your online friends = http://uk.messenger.yahoo.com |