|
From: <php...@li...> - 2008-03-07 14:53:28
|
Right - I tried but apparently the session per java_session() is not aware of such methods. $session = java_session(); echo $session->getId(); Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:RemoteHttpSessionFacade]]->getId. Cause: java.lang.NoSuchMethodException: getId(). Candidates: [] Responsible VM: 1.5.0_09@http://java.sun.com/" at:\n#-5 php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1040)\n#-4 php.java.bridge.Request.handleRequest(Request.java:409)\n#-3 php.java.bridge.Request.handleRequests(Request.java:485)\n#0 http://192.168.15.62:8080/JavaBridge/java/Java.inc(259): java_ThrowExceptionProxyFactory->getProxy(5, 'java.lang.Strin...', true)\n#1 http://192.168.15.62:8080/JavaBridge/java/Java.inc(409): java_Arg->getResult(true)\n#2 http://192.168.15.62:8080/JavaBridge/java/Java.inc(415): java_Client->getWrappedResult(true)\n#3 http://192.168.15.62:8080/JavaBridge/java/Java.inc(619): java_Client->getResult()\n#4 http://192.168.15.62:8080/JavaBridge/java/Java.inc(1730): java_Client->invokeMethod(1, 'getId', Array)\n#5 http://192.168.15.62:8080/JavaBridge/java/Java.inc(1843): java_JavaProxy->__call('getId', Array) Thanks for the reference to the j2ee docs tho - those are always hard to come by. ~tim Hi, > I see the context and the session, however I am having trouble getting at the actual value of > the java session id. => http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpSession.html#getId() Hope it helps. Regards, Jost Boekemeier |