[jboss-user] [JBoss Seam] - Access a Context Session Variablr from a Servlet?

mrwhite do-not-reply at jboss.com
Fri Jul 28 10:42:18 EDT 2006


Hi everybody,
is it possible to access a context variable from a servlet like the interceptor from the booking demo does?	

  | boolean isLoggedIn = Contexts.getSessionContext().get("loggedIn");
  | 

And can i get the session from a seam app?

I need this functionality for an upload applet, that posts the session id from a user to an upload servlet that does the upload processes but only if the user is logged in.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961581#3961581

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961581



More information about the jboss-user mailing list