Use the Response object instead of IScriptingContext?
From: Richard Hollis (richard_hollis_at_hotmail.com)
Date: 11/06/04
- Next message: Richard Hollis: "Re: COM+/OLEDB connection pooling query for ASP component"
- Previous message: Richard Hollis: "COM+/OLEDB connection pooling query for ASP component"
- Next in thread: Richard Hollis: "Re: Use the Response object instead of IScriptingContext?"
- Reply: Richard Hollis: "Re: Use the Response object instead of IScriptingContext?"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 6 Nov 2004 17:46:30 -0000
Microsoft docs say that IScriptingContext is obsolete, "you should not use
it except in legacy ASP applications. The interface exposes methods that
your component can use to retrieve the ASP built-in objects."
I have a control, which can render some large pages, and these are currently
returned to the calling ASP page in the form of a BSTR, which is then in
turn passed, to Response.Write.
Should I continue to use this approach or should I really by trying to write
directly to the stream itself? And, if I should be trying to write to the
stream then how should I obtain the Response stream object inside the COM
object?
Richard
- Next message: Richard Hollis: "Re: COM+/OLEDB connection pooling query for ASP component"
- Previous message: Richard Hollis: "COM+/OLEDB connection pooling query for ASP component"
- Next in thread: Richard Hollis: "Re: Use the Response object instead of IScriptingContext?"
- Reply: Richard Hollis: "Re: Use the Response object instead of IScriptingContext?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|