If I start a session in one page located at say www.something.com and register some variables, is is possible to pass those variables to another address.
Example: passing $user from www.something.com
to www.nothing.com.
I have tried without succes to do this.
i don't think you can do that with sessions but you might be able to pass cookies from one domain to another, although its a bit more unsecure.
No you can't. Sessions are server-side. I don't know if you could even use a cookie--I don't know how to implement a multi-domain cookie. As the above post says, however, it would be very unsecure.
ahh, i guess i was wrong. i thought you might be able to specifiy another domain in the domain parameter in setcookie(), but that won't work.
based on the "Persistent Client State -- HTTP Cookies"
Only hosts within the specified domain can set a cookie for a domain and domains .....
specification found here: http://wp.netscape.com/newsref/std/cookie_spec.html
this is also noted throught the "user comments" in http://us4.php.net/setcookie
Thanks for the info