I try context.acl_users.authenticate(user, pass, request) but this doesn't change the session user, isn't it?

Can I change the logged user in the session in any way?

Thanks!

2007/7/7, Garito <garito@sistes.net>:
Sure? I'll try then

Thank you so much!!!

2007/7/7, Andrew Milton <akm@theinternet.com.au >:
+-------[ Garito ]----------------------
| How can I change the user programatically?
| Can I?
|
| The process will be the same in acl_users, cookieCrumbler, ExUserFolder, isn't
| it?
|
| for example: acl_users.authenticate(user_name, password)
|
| Is this possible?
|
| That's my original need, but I'm not so sure if I ask properly, sorry

That is exactly how to do it with exUserFolder.
It will return a new user object, or None if the authentication failed.

--
Andrew Milton
akm@theinternet.com.au



--
Mis Cosas
http://blogs.sistes.net/Garito



--
Mis Cosas
http://blogs.sistes.net/Garito