Hi
Hi this is my situation. When a user login with the username and password(on the site www.domain.com) those details are verified and will be taken to the welcome page.Here i want to create a session cookie and use this as a session id for this user. This cookie will expire after 3 hours. If the user goes to any page inside this site i will check for the existance of this cookie.
If not the user will be redirected to the login page.
In this site there is a main link called expert center which conist of so many topics like 'Internet','Legal Center','Science','Politics',
'Social Studies'....etc. When the user click on any of these topics they will be taken into expert center page which is on a different(server) domain and can discuss with the experts.
for example.[url]http://www.socialstudies.mysite.com,http://legalcenter.mysite.com...etc.[/url]
Here is my problem: I want to check the cookie value here at www.socialstudies.com or www.legancenter.com(to whereever the user goes inside) which i 've created when the user login at (www.domain.com).
The cookie details are stored in the server www.domain.com. I checked with $_COOKIE['cookiename'].
But i want to create a cookie(when the user logins from www.domain.com) and store it on the client browser instead of a domain specific one. So that i can check the cookie inside all the pages irrespective of different domains. Can anyone help me on this. I am using php-4.3+apache on Red Hat linux.
Thanks
svan