Forum Moderators: coopster

Message Too Old, No Replies

Headers and sessions

         

bleak26

5:39 pm on Mar 25, 2006 (gmt 0)

10+ Year Member



Can anyone tell me why the following redirect would kill the session on the lifegallery page that the redirect is pointing to. Thanks one again for your help.

header("Location: [blahblahblah.com:81...]

whoisgregg

9:58 pm on Mar 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just a guess... the port changing?

...com:81/

jatar_k

10:57 pm on Mar 25, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



agreed

different port == different site

session cookie is not valid for that domain, similar to swapping from http to https