Fórumok

jsessionid across multiple domain

thumbnail
Jigna parag Joshi, módosítva 12 év-val korábban

jsessionid across multiple domain

Junior Member Bejegyzések: 41 Csatlakozás dátuma: 2008.12.09. Legújabb bejegyzések
Hi, how can we share same session among multiple virtual domain? means in our appolication user' is get logged in to some portal.asite.com and then based on his criteria he is redirected to some virtual domain like portalak.asite.com..but then new jsessionid is created. and my session Attributes are lost...can u pls tell how can we set domain of jsessionid from liferay?
thumbnail
Raja Nagendra Kumar, módosítva 12 év-val korábban

RE: jsessionid across multiple domain

Expert Bejegyzések: 484 Csatlakozás dátuma: 2006.03.02. Legújabb bejegyzések
Hi,

You could find solution at URL

http://www.emforge.net/web/akakunin/blogs/-/blogs/sharing-sessions-in-liferay

This solution is specific to tomcat...which application server are you using...

More generic one are setting the cookie domain property session.cookie.domain

http://www.liferay.com/community/forums/-/message_boards/message/1587599

Regards,
Raja Nagendra Kumar
C.T.O
www.tejasoft.com
thumbnail
Jigna parag Joshi, módosítva 12 év-val korábban

RE: jsessionid across multiple domain

Junior Member Bejegyzések: 41 Csatlakozás dátuma: 2008.12.09. Legújabb bejegyzések
thanx for ur reply..i m using jboss as our app server.
thumbnail
Jigna parag Joshi, módosítva 12 év-val korábban

RE: jsessionid across multiple domain

Junior Member Bejegyzések: 41 Csatlakozás dátuma: 2008.12.09. Legújabb bejegyzések
I tried to put <Service name="Catalina" className="com.liferay.support.tomcat.core.PortalStandardService"> in deploy\jboss-web.deployer\server.xml...but, deployment is failed..It is giving below error

10:57:37,986 ERROR [Digester] Begin event threw exception
java.lang.ClassNotFoundException: No ClassLoaders found for: com.liferay.support.tomcat.core.PortalStandardService
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:205)
at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153)
thumbnail
Jan Eerdekens, módosítva 11 év-val korábban

RE: jsessionid across multiple domain

New Member Bejegyzések: 15 Csatlakozás dátuma: 2011.01.20. Legújabb bejegyzések
It might be a bit late, but as mentioned in this Liferay issue and this Tomcat issue, adding a sessionCookieDomain attribute to the Context tag of the ROOT.xml in <tomcat>/conf/Catalina/localhost did the trick for me.
thumbnail
Juan Gonzalez P, módosítva 12 év-val korábban

RE: jsessionid across multiple domain

Liferay Legend Bejegyzések: 3089 Csatlakozás dátuma: 2008.10.28. Legújabb bejegyzések
Jigna parag Joshi:
Hi, how can we share same session among multiple virtual domain? means in our appolication user' is get logged in to some portal.asite.com and then based on his criteria he is redirected to some virtual domain like portalak.asite.com..but then new jsessionid is created. and my session Attributes are lost...can u pls tell how can we set domain of jsessionid from liferay?



Why don't you use some SSO solution, like CAS?