[TYPO3-dev] Solving existing session problems - sole technical approach

Francois Suter fsuter at cobweb.ch
Sun Feb 1 20:47:53 CET 2009


Hi,

> 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

Thanks a lot for the pointer. Will look into it.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch




More information about the TYPO3-dev mailing list