PDA

View Full Version : 2 Domains, same server....


Paris Holley
10-02-2004, 08:41 PM
I have

1site.com and 2site.com

the site is 1site.com

the forum is 2site.com but its true url is 1site.com/2site

how do i allow people who logon in 2site.com to use their cookies on 1site.com?

nexialys
10-02-2004, 08:53 PM
impossible to share the login cookie within two different domains... even if god is on internet... this is a security feature, this is why it is so fixed...

Paris Holley
10-02-2004, 08:57 PM
couldn't you assign the cookie to like the servers ip or something?

Paris Holley
10-02-2004, 09:20 PM
ok, what if i edited the php file and set it to write cookies for both 1site.com and 2site.com?

nexialys
10-02-2004, 09:40 PM
you can try this situation, but it's not only related to the cookie domain... i never see a site where that feature was working properly, but you can try...

Paris Holley
10-02-2004, 10:20 PM
wooo i got it to work, i think ima post it as my first hack :)