Share Session between 2 Java EE applications deployed in JBoss AS

后端 未结 3 1847
忘掉有多难
忘掉有多难 2021-01-21 10:54

I have 2 Java EE applications which need to share some common user related data of a logged in user.

Is there anyway by which I can store this data in the session from

3条回答
  •  悲&欢浪女
    2021-01-21 11:36

    Two separate Java EE applications will be having separate session data. If they are on the same domain and you want to share couple of attributes, then you could use a cookie and set attributes into the cookie and read them in each web app.

提交回复
热议问题