Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cookies and Sessions

Status
Not open for further replies.

y2k1981

Programmer
Aug 2, 2002
773
IE
I need to learn how to create a cookie using PHP. I know that when you create a session, it does place a cookie on your system with the seeion ID in there, but as soon as you close the browser, the session seems to be gone? also, when I look in my cookies, there's no physical cookie there. Why is this? I want to create a cookie so that the user only has to log on once, and then they can close the browser, and next time the open it, they won't have to log on again because it will read the cookie. Can somebody guide me to some tutorial on cookies on PHP?
 
that looks like what I'm after, thanks for that. I just had a suspiscion that there was something here I was missing, but obviously not. thanks for that
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top