General Question
How to make cookie in php track both in www.site.com and site.com for some web-site?
Asked by gagara (102)
May 11th, 2010
I am making website in php where I track users via cookies. For brevity reasons users are normally directed to http://site.com (not the actual site, just example), but I cannot exclude users navigating also from http://www.site.com. I am having trouble creating cookies that can be tracked both from site.com and www.site.com in PHP, as PHP creates cookie in either domain, and it is not visible in the other domain. What should I do?
Observing members:
0
Composing members:
0
4 Answers
Answer this question
This question is in the General Section. Responses must be helpful and on-topic.
Have a question?
Ask Fluther!