well, I just make use of session.setAttribute(), How will it become global variable?
2005/10/3, Murugesan, Kathiresan (Cognizant) <[EMAIL PROTECTED]>: > > it won't share until you have "userPrivileges" as global variable in your > action class. > > Regards > Kathir. > > ________________________________ > > From: ??? [mailto:[EMAIL PROTECTED] > Sent: Mon 10/3/2005 1:32 PM > To: Struts Users Mailing List > Subject: Is session.setAttribute unique for all sessions? > > > > In an Action, an attribute is set by > session.setAttribute("Privileges", userPrivileges); > > If another session logins and the same Action is called again, > will the two sessions share the same attribute? > > Thanks > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > This e-mail and any files transmitted with it are for the sole use of the > intended recipient(s) and may contain confidential and privileged information. > If you are not the intended recipient, please contact the sender by reply > e-mail and destroy all copies of the original message. > Any unauthorised review, use, disclosure, dissemination, forwarding, printing > or copying of this email or any action taken in reliance on this e-mail is > strictly > prohibited and may be unlawful. > > Visit us at http://www.cognizant.com > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]