# WGETCOOKIE

Updated: 1/18/2022, 5:31:44 PM
Created: 1/18/2022, 5:31:44 PM
Last Updated By: dependabot[bot]
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