# WGETCOOKIE

Updated: 2/24/2021, 3:51:59 PM
Created: 2/24/2021, 3:51:59 PM
Last Updated By: Daniel Klein
Read Time: 1 minute(s)

The WGETCOOKIE subroutine retrieves cookies sent in the web request.

# Command Syntax

CALL WGETCOOKIE(COOKIEVALUE,COOKIENAME)
1

# Syntax Elements

The WGETCOOKIE subroutine expects an input paramenter of COOKIENAME and will return in COOKIEVALUE the value of the cookie, if found.

# Example

CALL WGETCOOKIE(TOKEN,"Token")
1

Back to jAgent APIs