While I can't give you the code forit, I can give you the basic algorithm.
See, cookies can only be read by the domain that issued them. So your main site can't read your forum cookies.
The trick to getting an off-server page to read a server's cookie is to use a frame. The frame accesses a page on the off-site server and reads the cookie.
You then need to have the off-site script read the cookie and then somehow return that info to the other page.
I can't say I'd know how to do that...
|