From: <php...@li...> - 2010-08-06 08:38:31
|
> Does anyone have any idea why echo > java_context()->getHttpServletRequest()->getSession()->getAttribute("login"); > isn't outputting anything? Did your browser accept the cookie? > The attribute is definitely set in the servlet: > HttpSession ses = request.getSession(true); > > ses.setAttribute("login", loginid); Then you should be able to access this attribute using echo (string)java_session()->get("login") unless you browser has started a new session. Regards, Jost Bökemeier |