when I use setCookie in an php include, where the file is (for example)
thesite.com/folder/files/setcookie.php
and the include is in folder thesite.com/folder/execute.php
and this information is called from thesite.com/page2.php as a login page
are the cookies set properly? when I set cookies like that then try to access them, they seem to not exists, am I doing somthing wrong? When i put the set cookie file on the root folder (thesite.com/setcookie.php) and have it executed there, then try to access the cookie it appears, but it requires me to use GET (thesitecom/setcookie?session=sss&user_name=example);
which allows the user to see what took place...
so if there is another way to set cookies like I want to can you tell me or how can I use POST by using meta redirect or php header("Location: thesite.com/page2.php");
thesite.com/folder/files/setcookie.php
and the include is in folder thesite.com/folder/execute.php
and this information is called from thesite.com/page2.php as a login page
are the cookies set properly? when I set cookies like that then try to access them, they seem to not exists, am I doing somthing wrong? When i put the set cookie file on the root folder (thesite.com/setcookie.php) and have it executed there, then try to access the cookie it appears, but it requires me to use GET (thesitecom/setcookie?session=sss&user_name=example);
which allows the user to see what took place...
so if there is another way to set cookies like I want to can you tell me or how can I use POST by using meta redirect or php header("Location: thesite.com/page2.php");