struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 梁炳場 <pc.le...@gmail.com>
Subject Re: Is session.setAttribute unique for all sessions?
Date Mon, 03 Oct 2005 08:43:52 GMT
well, I just make use of  session.setAttribute(),
How will it become global variable?



2005/10/3, Murugesan, Kathiresan (Cognizant)
<Kathiresan.Murugesan@cognizant.com>:
>
> it won't share until you have "userPrivileges" as global variable in your action class.
>
> Regards
> Kathir.
>
> ________________________________
>
> From: ??? [mailto:pc.leung@gmail.com]
> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
>
>
> 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message