Reputation: 25239
how to set a cookie in order to live throughout any site you visit and can detect that you are loggedin in that website...
kind alike as the facebook Connect that if you install it it recognizes that you have previously loggedin in FB
what the direction should I take?
Upvotes: 0
Views: 66
Reputation: 140060
What you're looking for are persistent cookies. These are cookies with an expiry. And if you're going to be reading them across subdomains, you should also specify a domain. Here's a small nudge in the right direction:
https://developer.mozilla.org/en/DOM/document.cookie
Upvotes: 1