tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Application_scope
Date Mon, 21 Jul 2003 14:12:41 GMT

Howdy,
When the "admin" "opens" a session, the session is associated with the
admin, not the user, so the user's session is still null/empty ?

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Elif Akten [mailto:aktenel@hotmail.com]
>Sent: Monday, July 21, 2003 10:05 AM
>To: tomcat-user@jakarta.apache.org
>Subject: Application_scope
>
>Hi,
>I am using tomcat4.0 and developing a web application with jsp.
>
>In my application I want to an admin to open a session. If the session
is
>not initialized user cant open the page, forward them
notinitialized.jsp
>I initialize session and put some variables to session in
application_scope
>in
>webapps/myapplication/admin/init.jsp page
>,(pageContext.setAttibute("variable",pageContext.Application_scope)
>
>user tries to open webapps/myapplication/login.jsp,
>although I put all values to session login.jsp returns null.
>pageContext.getAttibute("variable",pageContext.Application_scope)
>
>Can anyone help me?
>
>_________________________________________________________________
>Add photos to your messages with MSN 8. Get 2 months FREE*.
>http://join.msn.com/?page=features/featuredemail
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message