Response object error 'ASP 0156 : 80004005'

Header Error

/asp/inc_functions.asp, line 497

The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.