Vue combinée Vue Plate Arborescence
Sujets [ Précédent | Suivant ]
toggle
kunal shah
Session sharing between two browsers
26 septembre 2013 02:38
Réponse

kunal shah

Rang: New Member

Publications: 9

Date d'inscription: 6 décembre 2012

Publications Récentes

Hello Everyone,

Im logging into liferay application which i developed, now when im trying to copy the current url and paste the url in new window and when i click on logout button in one window , the other window is still logged in with same credentials.
basically my session is not being shared between the 2 windows.

Kindly let me the resolution for this ?
Appreciate your help.
subhash lamba
RE: Session sharing between two browsers
26 septembre 2013 06:36
Réponse

subhash lamba

Rang: Regular Member

Publications: 136

Date d'inscription: 7 juillet 2013

Publications Récentes

Are sure about window. or taking about tab??
session only maintain in individual browser.
David H Nebinger
RE: Session sharing between two browsers
26 septembre 2013 20:05
Réponse

David H Nebinger

Rang: Liferay Legend

Publications: 7252

Date d'inscription: 1 septembre 2006

Publications Récentes

Separate browsers (i.e. IE & Chrome) have completely different sessions, what you do in one has no effect on the other.

Some browsers (i.e. IE), separate tabs will all share the same session; logging out in one is actually also logged out in rest. Some browsers can be configured not to share sessions between tabs, so they'll act as the separate browsers line above.

But, there is nothing you can do about this. These are separate browsers and share nothing.

You could limit users to only one login (a setting in portal-ext.properties); when second is logged in, first is automatically logged out. But this will not impact the separate tabs that use a shared session.
kunal shah
RE: Session sharing between two browsers
26 septembre 2013 21:53
Réponse

kunal shah

Rang: New Member

Publications: 9

Date d'inscription: 6 décembre 2012

Publications Récentes

HI David,

Thanks for your prompt reply.
Two windows i mean windows of same browser. Im logging in 2windows of chrome, session is not shared between 2 windows of same browser.


Thanks,
Kunal