Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

cookie problem at 4.2.1

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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
itaihila
New php-forum User
New php-forum User
 
Posts: 3
Joined: Tue Oct 08, 2002 12:49 am
Location: israel

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
DoppyNL
 

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!
Jay
 

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
itaihila
New php-forum User
New php-forum User
 
Posts: 3
Joined: Tue Oct 08, 2002 12:49 am
Location: israel


Return to PHP coding => General

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.