From: <php...@li...> - 2006-06-27 23:27:07
|
Hi Jost thx for the very long response - I think you missunderstood some details (I didnt provide so much detaisl that I was not aware off....) > probably because the browser does not accept the > cookie for some reason. PHP scripts usually send a No Cookie is sent at all....so I guess this is the main problem. > When running the back-end within a servlet engine or > AS , the servlet engine or AS generates page I run no servlet engine but the sun-jre directly >> with SUPHP > What is SUPHP? A SuEXEC wrapper designed for php - www.suphp.org - in fact its a small extension that changes the user and than forks off a shell running the php script - but it doesnt matter as the problem persists without suphp when using php-cgi >> Problem: I tried the example script for session >> usage withput success. > > What happens when you click on the sessionSharing.jsp > link at the bottom of the page does that increase the > value? And what are the properties of the generated > cookie, what's the PATH value for example? as written above - nothing happens, always get "new session, var:2", I dont receive a cookie...(its not a browser denial, I sniffed the traffic and no cookie headers are sent - cookies work with php session, so that seems to be ok) > I am not sure what you mean with "named sessions", but > java_session() at the beginning of the script is all > you need. java_session("mySession") - iiuc the given string is a kind of token to identify the session. > You've mentioned that session sharing works when > running in apache. Do you use the servlet back-end or > the standalone back-end? The standalone back-end uses > the PATH value /, so I guess the PATH value is the > problem. Stand-Alone - the architecture is as follows Browser - Apache - CGI - PHP - PHP/JAVA-Bridge - sun-jre binary > Can you please open a ticket (please use > http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233) > and set the java.log_level to 5 and attach the > generated log and the value of the generated cookie > (PATH, etc.) there? Will do so tomorrow... > If you run a FastCGI server please also generate a > trace: no I dont regards Oliver -- Diese Nachricht wurde digital unterschrieben oliwel's public key: http://www.oliwel.de/oliwel.crt Basiszertifikat: http://www.ldv.ei.tum.de/page72 |