Returns a string with the cookie’s value.
GetCookie(character-expression)
Where:
character-expression
Is the cookie’s name.
Type Returned:
Character
Objects:
Procedure,
Transaction,
Web Panel, Data Provider
Generators:
.NET,
.NET Framework, Java,
Ruby (up to GeneXus X Evolution 3)
It makes it possible to read a cookie and return a string with its value. If it doesn’t find the cookie (or can’t read it because it is disabled), it returns an empty string.
&UserIdChar = GetCookie(UserParameters.CookieName) // Or...
&UserIdChar = trim(GetCookie(UserParameters.CookieName))
SetCookie function