Command Cookies must be performed first as the first
command in the script as well as in our session. Written on client webbrowser
with the function syntax:
setcookies(stringname,
stringvalue, intexpire);
Example :
setcookies(“username”,
“membername”, time()+3600);
Syntax will make cookies with a username that has
values and attributes Membername expire, which means that the cookies have
the time after 3600 seconds and 3600 seconds it will disappear.
No comments:
Post a Comment