You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by Ruben Reusser <rr...@headwire.com> on 2018/12/02 15:04:12 UTC

[question] 2 sling instances behind one apache server sharing 1 session

hi there,

I have been trying to do the following: 1 apache http server, 2 sling 
instances. /tenant1 goes to sling instance number 1, tenant 2 goes to 
sling instance number 2. If I log in I'd love to be logged in to all 
sling instances, preferably not with a cookie for each tenant. Would 
love to hear suggestions in what direction I should concentrate my 
effort to achieve my goal here!

thank you

Ruben


Re: [question] 2 sling instances behind one apache server sharing 1 session

Posted by Jason E Bailey <je...@apache.org>.
Hi Ruben,

Can you clarify some, when you say two tenants, is this two separate domains ? And when you talk about being logged in, are yu controlling access or just validating that someone is logged in or not, i.e. being able to access information based on a user id.

- Jason

On Sun, Dec 2, 2018, at 10:04 AM, Ruben Reusser wrote:
> hi there,
> 
> I have been trying to do the following: 1 apache http server, 2 sling 
> instances. /tenant1 goes to sling instance number 1, tenant 2 goes to 
> sling instance number 2. If I log in I'd love to be logged in to all 
> sling instances, preferably not with a cookie for each tenant. Would 
> love to hear suggestions in what direction I should concentrate my 
> effort to achieve my goal here!
> 
> thank you
> 
> Ruben
>