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:[EMAIL PROTECTED]
>Sent: Monday, July 21, 2003 10:05 AM
>To: [EMAIL PROTECTED]
>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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to