[TYPO3-dev] [Typo3-dev] multi-subdomain cookies for fe/be login
Volker Graubaum
vg_typo3 at e-netconsulting.de
Fri May 26 21:19:34 CEST 2006
Hi,
>> Is something like this done yet??
>> I have multiple domains .de .com .org .info and if an logged in user
>> gets a link to another toplevel he isn´t logged in... :/
>>
>> Any ides??
>
> With top-level domains you must do a session passing. Cookies won't
> work. I vaguely remember that TYPO3 has a way to pass on a sessin via
> URL, but don't remember the details.
Try FE_SESSION_KEY --> Transfer of login sessions from other domains.
$GPVars['FE_SESSION_KEY'] =
rawurlencode($GLOBALS["TSFE"]->fe_user->id."-".md5($GLOBALS["TSFE"]->fe_user->id."/".$GLOBALS["TYPO3_CONF_VARS"]["SYS"]["encryptionKey"]));
Greetings Volker
--
Volker Graubaum || e-netconsulting
Max-Brauer-Allee 34 || 22765 Hamburg
Tel. +49 40 1 8888 99 0 || Fax +49 40 1 8888 99 80
vg at e-netconsulting.de || http://www.e-netconsulting.com
http://www.reisepix.com || http://www.dinner-4-18.de
More information about the TYPO3-dev
mailing list