cookie debug append to text/plain document bombs
Status: Beta
Brought to you by:
pcxuser
I have a few screens returning documents with content
type set to text/plain. When the cookie debug flag is
set index.cgi tries to output the cookie information
using setFocus. HTMLObject craps out with BIG error
like thus: (abbreviated)
<head><title>Error: setFocus</title></head>
<body . . .>
<h1>HTMLObject</h1>
<h1>Error: <b>1006</b> Occurred!</h1>
Message: Invalid Section used when Content-Type
not equal to "text/html"
<br />
Focus = "$focus" is invalid when Content-Type =
$self->{contentTypeString}" is used!
I suggest that the cookie debug code check the content
type and do NOTHING if it is NOT set to text/html.