Forums / Developer / Lose current user in module
Jean-Luc Nguyen
Thursday 20 August 2009 2:49:03 am
Hello there,
I have something weird, on a template, I have a link to a module. This module loses the current user I am connected with. I don't know if I miss something but it's strange.
If anyone had this problem and know how to solve it, it would be great, thanks!
http://www.acidre.com
André R.
Thursday 20 August 2009 5:32:24 am
define: lose, is he logged out? module, witch module, if custom, what do you do in there?link, how does the link look like?
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom
Thursday 20 August 2009 5:49:34 am
Hello André,
Forget about the module, I have something strange.The version is 4.0.1.
I have 3 main nodes, A, B and C, all standard sections, except C which children nodes are C section. I have a customer class, which role can read standard and C sections. The login form is on C node, current user is a customer class.But when I go to A & B nodes, current user is anonymous (logout).
I think I miss something but I don't know what.
Thanks a lot for your help!
Thursday 20 August 2009 6:55:11 am
OK so sorry, there was a hack from another developer to remove cookie in index.php for a cache issue with varnish, so the current user is anonymous.