[TYPO3-dev] Solving existing session problems - sole technical approach
Steffen Kamper
info at sk-typo3.de
Fri Jan 30 19:12:52 CET 2009
Hi,
Francois Suter schrieb:
> Hi Albert,
>
>> Notice the fact that it has a different domain (without the intranet
>> part) and the expiration.
>>
>> After removing efa cookies are ok. I don't know much about the
>> handling of cookies, is there an easy way to fix the javascript efa uses?
>
> Thanks for the details. It's very interesting. I'm not sure about how to
> fix this, but if anyone knows I'll gladly and promptly integrate the fix
> in my extension :-).
>
should be easy
// if document.domain is numeric, otherwise strip off the server name
and use the remainder
this.defaultDomain =
(defaultDomain)?defaultDomain:(document.domain.search(/[a-zA-Z]/) ==
-1)?document.domain:document.domain.substring(document.domain.indexOf('.')
+ 1,document.domain.length);
remove the substring and use complete domain
vg Steffen
More information about the TYPO3-dev
mailing list