掲示板
How to Manage Session in liferay ??
11年前 に piyush liferay によって更新されました。
How to Manage Session in liferay ??
Junior Member 投稿: 40 参加年月日: 13/01/02 最新の投稿
Can anybody tell me about the session management in liferay..
i am working on login - logout functionality so i am required such functionality so suggest me ....
i am working on login - logout functionality so i am required such functionality so suggest me ....
11年前 に Subhash Pavuskar によって更新されました。
RE: How to Manage Session in liferay ??
Regular Member 投稿: 234 参加年月日: 12/03/13 最新の投稿
11年前 に piyush liferay によって更新されました。
RE: How to Manage Session in liferay ??
Junior Member 投稿: 40 参加年月日: 13/01/02 最新の投稿
but in this example doesn't show , how to destroy a session when logout from the page....
11年前 に Apoorva Prakash によって更新されました。
RE: How to Manage Session in liferay ??
Liferay Master 投稿: 658 参加年月日: 10/06/15 最新の投稿piyush liferay:
but in this example doesn't show , how to destroy a session when logout from the page....
Hi Piyush,
Basically, the following code is the key portion of logoutAction:
try {
session.invalidate();
}catch (Exception e) {
//ignored
}
Apart form this,3 cookies COMPANY_ID, ID and PASSWORD are also destroyed. You can see the exact Logout code here.
Hope This will help...
Thanks and Regards,
Apoorva Prakash