I have two domains. One domain contains the login script. It creates a cookie when logged in. Another domain have a URL shortener.
So, on the 2nd domain that have th
You can't read a cookie from the other domain. though there are several ways to pass a session id. You can search SO for the cross-domain authorization
cross-domain authorization
The easiest way is to pass a session id via query string