I have implemented single sign on multiple sub domains like:
www.abc.com my.abc.com support.com
using cookies or called session cookies(it will expire as browsers close).
syntax: setcookie("VARIABLE_NAME", VALUE , 0, '/' , '.domain.com');
parameter are name of cookie variable name , value , time of cookie expire(zero means it will destroy on browser close), path , domainname( start from dot so that it will available to all its sub domains)
Check on subdomains if this cookies is set. if set get the value decode it and check in database.
I would like to ask this there any other way to do that.
Thanks