Portal Home > Knowledgebase > Articles Database > setcookie() troubles on different subdomains, need help


setcookie() troubles on different subdomains, need help




Posted by argenty, 06-01-2009, 04:47 AM
Hello, how can i set a cookie on different subdomains ?

Posted by Kohrar, 06-01-2009, 05:14 AM
I would do something like this: change the expire time name and value of the cookies accordingly.

Posted by JoyceBabu, 06-01-2009, 06:05 AM
To set separate cookie for separate subdomains use Kohrar's code. If you want same cookie accessible from multiple subdomains use

Posted by argenty, 06-01-2009, 10:58 AM
I have about 7 subdomains, well i'm going to try



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
my server got a virus (Views: 728)
Restoring Backups WHM (Views: 789)


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.