Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

Cookies

Aloittaja SleePy, marraskuu 09, 2006, 10:58:38 IP

« edellinen - seuraava »

SleePy

I am drawing a blank here and can't think of my answer..

Where again does SMF set the cookie to the users browser?

Reason is I am having cross domain issues on my site.. My forum uses mydomain.com/home/ while another page on my site uses otherdomain.com/page/ with SSI. Problem is otherdomain.com does not the cookie information that mydomain.com does.. So It isn't able to get user information..

I want to try to figure out how I can set the cookie to both domains or set 2 cookies (or 3 for my 3rd domain)

Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

JayBachatero

Look in LogInOut.php.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

SleePy

Thanks..

I finally was able to think of that myself.. Actually found it in Subs-Auth.php.. Which is where I found some interesting code about url aliases that smf supports? :P
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

SaikoJosh

@ SleePy:

I'm interested in doing exactly the same thing, what did you have to edit to get this to work? Was it a big modification?

Digital Home Central - Products for the 21st century home (under construction).

Advertisement: