Save Response.Buffer output to Session

Family,

I'm back again.

I've done a bit of research on the Response object and apparently you can process the script of a web page and buffer the content by setting response.buffer = true

Then you can send use Response.Flush to output the content to the client.

Is there a way to write the buffered content to a Session variable prior to using the Flush method so I can reuse it later?

Thanks.
tuckandrollAsked:
Who is Participating?
 
b0lsc0ttConnect With a Mentor IT ManagerCommented:
No.  Not in ASP (Classic).  Using True gives you control over the buffer (i.e. clear, flush) but it is pretty limited.  You can't send it somewhere else.

Let me know how this helps or if you have a question.

bol
0
 
b0lsc0ttIT ManagerCommented:
Please explain the B grade.  Since the comment was an answer and complete enough that you didn't need a follow up it would deserve an A grade.  If a mistake was made or you have a question about grading on EE then let me know.  If you actually still have a question and didn't mean to close this please let me know.  Otherwise please explain the grade, especially since you never posted a follow up response.
bol
0
 
tuckandrollAuthor Commented:
Sorry about that bol. It should have been an A originally.
0
 
b0lsc0ttIT ManagerCommented:
tuckandroll,
Thanks for the response.  I am glad it was just a mistake.  The moderator has already corrected it but thanks for the post to let me know.
bol
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.