logo
Home XtGem- Templates- XtScript- bottom
Cookies can be set read and deleted using xtscript
[...] = optional ... = your value
call cookie::set $name=...;$val=... ;$expire=...[;$force_current=1]
[assign $var = ]call cookie::get $name=...;$default=...
call cookie::delete $name=...[;$force_current=1]
cookies Must be set in the current Xtscript they cannot be set in an a local or external included file
or from a direct local or external user defined function
If you try the cookie may be set but you will probably get a white screen
You cannot set the domain for the cookie
Show as text
Show as text
Reload
Welcome new visitor this is your 1st visit
Delete cookie
Powered by XtGem
About us Contact Forum topÂ