[Typo3-dev] Authentication Services: Detect session across multiple sites

Daniel Pötzinger operation-lan at gmx.de
Sat Mar 19 22:10:16 CET 2005


Christian Melchior wrote:
> Hi
> 
> Not exactly....What I meant was that the login on site-A is to be transfered 
> to site-B. So if the user jumps to site-B, Typo3 will automatically
> log him in there as well.
OK this was what I mean.



> 
> All sites are on subdomains to the same topdomain so the browser should be 
> able to read the cookie.
> 

As I know cookies were not send through subdomains.
Means www.sitea.com wouldn't receive the cookie which is set for 
www2.sitea.com.
So it shouldn't be possible in an easy way.

> Does that make sense?
> Christian
> 
> "Daniel Pötzinger" <operation-lan at gmx.de> wrote in message 
> news:mailman.1.1111247526.19196.typo3-dev at lists.netfielders.de...
> 
>>Christian Melchior wrote:
>>
>>>Hi
>>>
>>>I'm working on a project where a user login is working for several
>>>independent Typo3-sites.
>>>
>>>User data is stored on a seperate server, and I'm using Authentification
>>>Services to get to these data - which works like a charm.
>>>
>>>But how do I get Typo3 to detect a existing login from another site?
>>>I have thought about extending cc_sv_auth so it can alter/create a 
>>>typo3-session but I'm not sure if this is the right place to do it?
>>>
>>>Hope someone can help with this,
>>>Christian Melchior
>>
>>Hello
>>
>>What do you mean, I dont get it clear?
>>Do you mean a fe_user logs in on site-A and then goes to site-B.. and 
>>site -B should know that the user was logged in at site-A ?
>> If you want it in this way it is difficult, because of the diffrent 
>>Domains of the sites: cookies from site-A are not send to site-B by the 
>>browser. (A strange solution for that could by that you add a paramter to 
>>the link from site-A to site-B so that site-B has a chance to identify the 
>>session.)
>>
>>greetings 
> 
> 
> 




More information about the TYPO3-dev mailing list