You are here: sessioncookies? « PHP « IT news, forums, messages
sessioncookies?

Posted by William Stokes on 03/18/05 15:07

Hello,

I have a following line in my code to set a session cookie when user logs
in. It works fine.
setcookie("sess_id","$sess_id",0,"/");

Can I store more information to the session cookie? I mean other variables.
Like I tried it like this with no success.
setcookie("sess_id","$sess_id",$another_variable,0,"/");

Thanks
-Will

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация