SESSION Issue with Mac's

Discussion in 'PHP' started by adamjblakey, Dec 21, 2010.

  1. #1
    Hi,

    I have a website which stored various session values e.g. first name, last name etc about 12 in total. These are obtained from a form post.

    The user has to checkout with these details and go to another website to enter some more details and is directed back after the details have been taken and then the session data is entered into the database.

    This is working perfectly on all browsers on windows however i have tested this on Safari and Firefox on a Mac and then sessions are not carrying over after the redirect back to my website to enter the details.

    Has anyone got an idea of why this is happening and better yet how to resolve this issue?

    Cheers,
    Adam
     
    adamjblakey, Dec 21, 2010 IP
  2. xpertdev

    xpertdev Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I have faced this earlier.
    Check for your cookie domain. set your cookie domain to '' and then try to set cookies again.
    This was works in my case.

    Hope this helps
    Avinash
     
    xpertdev, Dec 21, 2010 IP