Tutorial on SetCookie?

  
Search the forum, nothing on it.

I wonder how to use the SetCookie and GetCookie Action anyone can teach me? what parameter needed

Thanks
Hello David Chen,

The usage of this two methods is really pretty simple.
This example shows the actions used in the preparation of two screens.

SetCookie:

CookieName = Name you want do give to your cookie.
CookieValue = The value you want to give to the cookie.
CookieExpirationSpan = Cookie expiration span in minutes. If lower than or equal to zero the cookie will only be valid during current session.
CookiePath = Defaults to path of the current eSpace, Tenant and Personal Area combination.
CookieDomain = Defaults to the current domain.





GetCookie:

CookieName = Name given to your cookie.



This method returns the value for the specified cookie and, according to its existence you can take different actions.

Hope this little explanation can help you.
Any doubt, just ask.

Kind Regards,
Gonçalo M.

WOW! Thanks so much!!!
David Chen wrote:
WOW! Thanks so much!!!
Good to know it helps..