tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Javicha <javilan...@gmail.com>
Subject Re: Page pooling in Tapestry 5.0
Date Thu, 08 Nov 2012 20:49:18 GMT
My logout method is:

@Property
	@SessionState(create = false)
	private UserSession userSession;

@AuthenticationPolicy(AuthenticationPolicyType.AUTHENTICATED_USERS)
	Object onActionFromLogout() {
		userSession = null;
		CookiesManager.removeCookies(cookies);
		return Index.class;
	}


UserSession is an object like this:

public class UserSession {

	private Long userProfileId;
	private String login;
	private String firstName;
	private String lastName;
	private boolean admin;
	private boolean modify;

       ...... getters and setters

With 2 different browsers the problem disappears. How I can get the browser
session to invalidate it?

Thanks!





--
View this message in context: http://tapestry.1045711.n5.nabble.com/Page-pooling-in-Tapestry-5-0-tp5717748p5717835.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message