httpcookie - PHP: Expire vs. Clearing a cookie -


a newbie question, bare me...

with respect creating cookies php, difference between using 'expire' parameter of 'setcookie' , setting cookie ""? in other words have cookie that's collecting information, @ point grab information , send it, , after point want destroy cookie. since (from understanding) cookies stored on client side, options expire or set "". read, 'expire' sets cookie 0, respect values; int 0 or empty string?

also question extending original questions asked here. aka if had question posted, , wanted ask similar question, edit original question , add new section or start new question (like did here)?

when set cookie stored client browsers, if set expire parameter cookie expire(deleted) after given time client computer, , if set cookie 0 cookie stay in client browser value 0.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

qt - Errors in generated MOC files for QT5 from cmake -