Dec 5, 2003 #1 bosky Programmer Oct 30, 2003 15 IN Cookies ???? Hi there, I'm just not able to create the cookies. I'm using the following command to create the cookie setcookie("username",session_id()); is something wrong with this command what am i doing wrong? Please help!!!
Cookies ???? Hi there, I'm just not able to create the cookies. I'm using the following command to create the cookie setcookie("username",session_id()); is something wrong with this command what am i doing wrong? Please help!!!
Dec 5, 2003 #2 sleipnir214 Programmer May 6, 2002 15,350 US It's not necessary to set a session cookie manually. When you invoke session_start(), if a session cookie does not exist, PHP sets one. How are you verifying that the cookie is not set? Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!! Upvote 0 Downvote
It's not necessary to set a session cookie manually. When you invoke session_start(), if a session cookie does not exist, PHP sets one. How are you verifying that the cookie is not set? Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!!