Share this page

# web.cleanupCookies

Removes all cookies currently stored by the Vuser.

Example | Cookie Functions

## Syntax

    web.cleanupCookies( );

## Return Values

Not applicable

## Parameterization

Parameterization is not applicable to this function.

## General Information

The web.cleanupCookies function removes all the cookies that are currently stored for use by the script.

Note: Scripts do not read or modify the cookies that are stored by your browser. Instead, each Vuser uses the cookies that are sent to the Vuser by the server host at runtime. These cookies are maintained only while the script runs. The web-cookie functions (web.addCookie, web.removeCookie, and web.cleanupCookies) manipulate these temporary cookies, and do not affect cookies stored by your browser.

## Example

    web.cleanupCookies();

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: