On Tue, 5 Aug 2008 09:43:36 -0700 (PDT), MikSan wrote
How can I set and get a new session variable in xwiki.
Something
like: context.getRequest().getHttpServletRequest().getSession()
.setAttribute("The_name",value); context.getRequest()
.getHttpServletRequest().getSession().getAttribute("The_name");
Thanks for the help
$var=$request.getHttpServletRequest().getAttribute("var")
works for me.
--
View this message in context:
http://n2.nabble.com/Session-Variables-
tp674006p674006.html Sent from the XWiki- Dev mailing list archive
at
Nabble.com.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Ruslan Shevchenko
GradSoft.
http://www.gradsoft.ua