Yes, it is possible by setting the cookie with a past expiration time. Post navigation Is it possible to extend the execution time of a PHP script? What is the default session time in PHP?