Simple Machines Community Forum

General Community => Scripting Help => Topic started by: Tyris on January 01, 2004, 10:25:07 PM

Title: Cookies
Post by: Tyris on January 01, 2004, 10:25:07 PM
I'm not sure if this is html/css or a php problem... but myeh...

Basically, I need several domains have a single userbase (easy) and single cookie (or similar effect ~ hard).
What I've got at the moment is, YaBBSE loads an extra image (1px) in the copyright tag when the action is login2 or logout... and this img links to a php file that is a single line (being storeing the exact same cookie that was stored at the first domain except with the different domain obviously).
Now this works... except It doesnt work of the cookie security is too high (in IE)... in fact I think it has to be set to -all- cookies.... how can I make this cookie setting more secure... ie: privacy statement etc...? and is there any better way of doing this??


also... is it possible to use sessions accross domains too?
Title: Re: Cookies
Post by: Tyris on January 02, 2004, 08:08:21 PM
*bump*

anyone...?
I know there are some people here who know :P
Title: Re: Cookies
Post by: [Unknown] on January 03, 2004, 10:36:30 AM
You can use sessions across domains, but you have to put the session id in the URLs.

-[Unknown]
Title: Re: Cookies
Post by: Tyris on January 03, 2004, 07:45:07 PM
cool :)

any ideas on the cookies... :(? at least how to do a privay statement or something?
Title: Re: Cookies
Post by: [Unknown] on January 04, 2004, 12:45:32 AM
Sorry, I really can't think of anyway to get IE to do what you want. (except sessions.)

-[Unknown]
Title: Re: Cookies
Post by: Tyris on January 04, 2004, 02:46:24 AM
isn't there a way to write/obtain a 'compact privacy policy' ? coz that would -seem- to make my cookies available to the medium setting...