Page 1 of 1

problem with cookie

Posted: Wed Oct 15, 2003 11:22 am
by syno
i am trying to sort a username sent by a from via POST but when i try to echo that cookie it only stores the first letter of the username

any reason for this?

Posted: Wed Oct 15, 2003 12:30 pm
by qads
post some code :P

Posted: Wed Oct 15, 2003 3:59 pm
by evilMind
must.... see..... code..... ;)

Posted: Wed Oct 15, 2003 5:11 pm
by syno
yeah i deleted the code but what im basicly trying to do is save the users , username that he/she enters in to a cookie, that i can check againt a database once there logged in

Posted: Thu Oct 16, 2003 3:25 am
by Nay
Check this out. It'll help you learn what you're trying to accomplish.

It's fairly simple, but most of us would refuse to post any code unless you do - since we wouldn't just want someone to just come and take without learning...

-Nay