cookie problem at 4.2.1

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

itaihila
New php-forum User
New php-forum User
Posts: 3
Joined: Tue Oct 08, 2002 12:49 am
Location: israel

cookie problem at 4.2.1

Postby itaihila » Tue Oct 08, 2002 12:52 am

i changed in php.ini register_globals to on but still can't get any cookies
pls help

itaihila
New php-forum User
New php-forum User
Posts: 3
Joined: Tue Oct 08, 2002 12:49 am
Location: israel

sorry 4.2.3

Postby itaihila » Tue Oct 08, 2002 12:59 am

the right version is 4.2.3

DoppyNL

Postby DoppyNL » Tue Oct 08, 2002 1:39 am

are you sure the cookies where accepted by the browser?
are you checking for the cookies on the next page request? (on the page you set them they don't appear!)

Greetz Daan

Jay

Postby Jay » Tue Oct 08, 2002 3:24 am

Try setting the 4th argument to '/'. Also, make sure you're accessing the cookie on a different page. You can't access the cookie on the same page you set it!

itaihila
New php-forum User
New php-forum User
Posts: 3
Joined: Tue Oct 08, 2002 12:49 am
Location: israel

i know i can't check a cookie on the same page (duh!!!)

Postby itaihila » Tue Oct 08, 2002 6:06 am

about the \ - thank you i'll try and let you know if it worked...

my boss says we should just bring back the old version - where it works

thanks


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 2 guests