Hi Naren,
this request attribute is set by the Identified and thus also the
Authenticated element which extends it.
If your elements (or group or sub-site) in the site-structure don't
declare either of those elements in the inherits attribute, that
request attribute will not be set.
Best regards,
Geert
On 27-jan-06, at 15:55, Naren wrote:
Hello
When I use following statment to get the RoleUserIdentity to check
if the
user is logged in or not.
-------------
RoleUserIdentity identity =
(RoleUserIdentity)getRequestAttribute
(Identified.IDENTITY_ATTRIBUTE_NAME);
--------------------
Some time it works correctly and we can check if user is logged In
or not.
But sometime it returns Null, although user is logged in. So for
example
when I check on an Element Home , it returns null, but if I check an
embedded element (embeded in Home) then it returns not null value.
What may be the problem ?
Regards
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin Uwyn bvba
"Use what you need" Avenue de Scailmont 34
http://www.uwyn.com 7170 Manage, Belgium
gbevin[remove] at uwyn dot com Tel +32 64 84 80 03
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users