Patrice wrote:
Try :
Response.Write "Hello"
Response.End
Response.Write "World !"
To be fair to the OP, it seems reasonable to assume that once you call the
End method of the Response object, the Write method of the same should no
longer be available. So, perhaps this is not the best example with which to
test this principle.
It seems less reasonable to assume that the rest of the process ends also,
by my reckoning. Is it obvious, for example, whether the Nothing assignment
happens here?
Response.Redirect myURL
Set cn = Nothing
The MS documentation says nothing about the process scope -- it only
describes what is sent to the browser:
http://msdn.microsoft.com/library/en...7f38f37ab3.asp
Of course, if you can get to the Response.Redirect documentation, you can
get to that of Response.End, so this point is somewhat moot. But even to
someone with the intuitive understanding that Response.Redirect sends an
HTTP 302 header, it is not patently clear that the *process* stops when the
Response Object stops doing stuff.
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.