Vely logo install

Vely 15.2.0 released on Jan 18, 2023
Articles updated Jan 17, 2023


Issues with this documentation page? Report here.


Get cookie value.


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


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. <cookie value> is allocated memory.

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.


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. Vely elephant logo (c) 2022 DaSoftver LLC. This web page is licensed under CC-BY-SA-4.0.