Cookie problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Vamosi Zsolt

    #1

    Cookie problem

    Hi all,

    I have a problem. I am beginer in cookie-making. I make one, on my laptop,
    where I run a web server, I can use my cookie. It operates properly
    independently if I use IE or Firefox.

    However, I applied my PHP code on a Linux server, where an Apache
    web server run with a PHP interpreter. On a remote computer I wanted to
    access my cookie-enriched page. The cookie was saved locally in the
    cookie-directory of my browser, but it had no any value. I experienced the
    same in case of IE and Firefox.

    Could you send me any idea, what is the mistake?

    Thanx very much

    Zsolt
  • SquishedOrange

    #2
    Re: Cookie problem


    Vamosi Zsolt wrote:
    Hi all,
    >
    I have a problem. I am beginer in cookie-making. I make one, on my laptop,
    where I run a web server, I can use my cookie. It operates properly
    independently if I use IE or Firefox.
    >
    However, I applied my PHP code on a Linux server, where an Apache
    web server run with a PHP interpreter. On a remote computer I wanted to
    access my cookie-enriched page. The cookie was saved locally in the
    cookie-directory of my browser, but it had no any value. I experienced the
    same in case of IE and Firefox.
    >
    Could you send me any idea, what is the mistake?
    >
    Thanx very much
    >
    Zsolt
    Interesting,
    Have you looked into the domain & path of the cookie?
    You can do this from the parameters in setcookie()

    Something to check. As I don't fully understand your problem, I can't
    offer any more assistance.

    Comment

    Working...