Vely logo Empower C
install  tutorials  examples
documentation  license  about

12.1.0 released on Sep 19, 2022

get-cookie



PURPOSE:


Get cookie value.

SYNTAX:


get-cookie [ define ] <cookie value> = <cookie name>


DESCRIPTION:


get-cookie obtains the value of a cookie with the name given by <cookie name>. A cookie would be obtained from an incoming request from the client (such as web browser) or it would be set using set-cookie.

The value of cookie is stored in <cookie value>. If it does not exist, you can create it within the statement by using "define" clause.

Cookies are often used to persist user data on the client, such as for maintaining session security or for convenience of identifying the user or its actions.

EXAMPLES:


Get value of cookie named "my_cookie_name" - variable my_cookie_value will hold its value:
get-cookie define my_cookie_value="my_cookie_name"


SEE ALSO:


Cookies ( delete-cookie   get-cookie   set-cookie  )  SEE ALL (documentation)



Copyright (c) 2022 DaSoftver LLC. Vely is a trademark of Dasoftver LLC. The software and information herein are provided "AS IS" and without any warranties or guarantees of any kind. Icons copyright PaweĊ‚ Kuna licensed under MIT. This web page is licensed under CC-BY-SA-4.0.