Foren

login.events.post Not Executed

June Carroll, geändert vor 14 Jahren.

login.events.post Not Executed

New Member Beiträge: 2 Beitrittsdatum: 15.06.09 Neueste Beiträge
The following is the scenario that we're having a problem with:

Sign in as Admin A (User with Role: Administrator). This works as expected.
Sign out.
Signin as Admin B (User with Role: Administrator). The login action specified in portal-ext.properties is not executed.

Expected Results:
When signing-in as an Admin, OurCoLoginAction will pass user specific information (eg. first name, last name, email).

The only way to get our login action to execute under this scenario is to wait a while until the session expires on it's own. Using FF, we've shut down the browser, killed the session, deleted cookies but it still didn't work (and it doesn't work in IE either). As a registered user it works perfectly every time.

portal-ext.properties lists the following
login.events.post=com.liferay.portal.events.LoginPostAction,my.co.liferay.portal.events.OurCoLoginAction,com.liferay.portal.events.DefaultLandingPageAction

Environment:
Liferay 5.1.1
Tomcat 6

Anyone have any ideas?
thumbnail
Lisa Simpson, geändert vor 14 Jahren.

RE: login.events.post Not Executed

Liferay Legend Beiträge: 2034 Beitrittsdatum: 05.03.09 Neueste Beiträge
There is some session wierdness going on with the caching in Liferay.