Streaming live at 10am (PST)

Removing cookie file on page unload?

I want to place the script inside one of the pages of the website which will remove the wf_auth_page cookie file after unloading. I want to force entering a password each time user wants to open it (password protected page).

I have tried:
(window).unload(function() { .cookies.del(‘wf_auth_page’);

But it seems to not work properly.

Can anyone help me with that?