Not sure it's that, but I think there should not be an ending '/' before '?mySession=...'
/xwiki/bin/login/XWiki/XWikiLogin?mySession=" + session.getId(); 2012/9/27 echocoder <[email protected]>: > I would like to pass in a variable from a JSP page, named mySession, to the > login page of Xwiki, such as: > > So when the user has valid credentials they will be redirected here: > > /xwiki/bin/login/XWiki/XWikiLogin/?mySession=" + session.getId(); > > There is some a custom authentication class written in Java that extends > XwikiAuthServiceImpl and inside of the checkAuth(XWikiContext context) > method I am trying to retrieve the value I passed in from the JSP page. > > String mySession = > (String)context.getRequest().getSession().getAttribute("mySession"); > > The value of mySession is always null. Does anyone know where I went wrong > in trying to accomplish this? > > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/passing-a-session-variable-to-the-XwikiLogin-page-tp7581556.html > Sent from the XWiki- Dev mailing list archive at Nabble.com. > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

