I have script written in perl, the logout script works fine if I have only one html frame, however it doesn't work if I setup the html to two frames(top frame and main frame), the main frame handles perl script, when I try to logout, it doesn't delete cookie and stay in the same page when I refresh the browser.