I have a webpage (using perl, cgi) in that i set the cookies for handling username and it will expired when logout link is clicked.
But the problem is when the user use the close "X" button for closing the page this time i need to expires the cookies also.
Is there any option to delete cookies when browser window closed. (eg. using window.unload using javascript or jquery).
Any help will be appreciated.