Re: can i modify the content in the buffer of response(not response.buffer prep) by Bob

Bob
Sat Apr 10 12:18:22 CDT 2004

xingye wrote:

If I understand your question, then the answer is no.

Bob Barrows


--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"



Re: can i modify the content in the buffer of response(not response.buffer prep) by Maarten

Maarten
Sat Apr 10 13:31:39 CDT 2004

Use a variable to keep your data. In the process, before the Response.Write
you can alter the content with replace or another Function to handle more
complex changements in the content of the variable. In many case you will
need pointer to indicate start and end of pieces of data. Before
Response.Wriet you need to clean-up these pointers.
Maarten.



"xingye" <xingye@sohu.com> schreef in bericht
news:OMCDhxxHEHA.1048@TK2MSFTNGP12.phx.gbl...
>
>



Re: can i modify the content in the buffer of response(not response.buffer prep) by xingye

xingye
Sat Apr 10 20:07:13 CDT 2004

i want to modify entire page. sometimes i must design the webpage complex
static html and asp script. so i can't put all this into a variable:(

now i think i can use xmlhttp component. but this way more like using an
agent, i must supply another page...


"Maarten" <nobody@spam.com> wrote in message
news:f4Xdc.66798$2Y6.4444228@phobos.telenet-ops.be...
> Use a variable to keep your data. In the process, before the
Response.Write
> you can alter the content with replace or another Function to handle more
> complex changements in the content of the variable. In many case you will
> need pointer to indicate start and end of pieces of data. Before
> Response.Wriet you need to clean-up these pointers.
> Maarten.
>
>
>
> "xingye" <xingye@sohu.com> schreef in bericht
> news:OMCDhxxHEHA.1048@TK2MSFTNGP12.phx.gbl...
> >
> >
>
>



Re: can i modify the content in the buffer of response(not response.buffer prep) by Maarten

Maarten
Sat Apr 10 23:58:19 CDT 2004

Maybe break up the page in pieces (html / asp / etc). Write down this pieces
in tmpFiles or use different variables or make use of a database to store
the different elements. If neccessary in the proces, you can open those
files or records for altering. At the end you collect all the pieces into 1
output.
Maarten

"xingye" <xingye@sohu.com> schreef in bericht
news:eQnXAF2HEHA.1548@TK2MSFTNGP10.phx.gbl...
> i want to modify entire page. sometimes i must design the webpage complex
> static html and asp script. so i can't put all this into a variable:(
>
> now i think i can use xmlhttp component. but this way more like using an
> agent, i must supply another page...
>
>
> "Maarten" <nobody@spam.com> wrote in message
> news:f4Xdc.66798$2Y6.4444228@phobos.telenet-ops.be...
> > Use a variable to keep your data. In the process, before the
> Response.Write
> > you can alter the content with replace or another Function to handle
more
> > complex changements in the content of the variable. In many case you
will
> > need pointer to indicate start and end of pieces of data. Before
> > Response.Wriet you need to clean-up these pointers.
> > Maarten.
> >
> >
> >
> > "xingye" <xingye@sohu.com> schreef in bericht
> > news:OMCDhxxHEHA.1048@TK2MSFTNGP12.phx.gbl...
> > >
> > >
> >
> >
>
>



Re: can i modify the content in the buffer of response(not response.buffer prep) by Maarten

Maarten
Sun Apr 11 00:56:02 CDT 2004

I presume you wish to alter the page on Server Side (before it is send to
the client) and that you understand the difference between Server Side and
Client Side. If you wish to alter some of the page elements (frames /
pictures) after the page is loaded into the client browser, then you need to
do this with Javascript code.
Maarten.


"xingye" <xingye@sohu.com> schreef in bericht
news:eQnXAF2HEHA.1548@TK2MSFTNGP10.phx.gbl...
> i want to modify entire page. sometimes i must design the webpage complex
> static html and asp script. so i can't put all this into a variable:(
>
> now i think i can use xmlhttp component. but this way more like using an
> agent, i must supply another page...
>
>
> "Maarten" <nobody@spam.com> wrote in message
> news:f4Xdc.66798$2Y6.4444228@phobos.telenet-ops.be...
> > Use a variable to keep your data. In the process, before the
> Response.Write
> > you can alter the content with replace or another Function to handle
more
> > complex changements in the content of the variable. In many case you
will
> > need pointer to indicate start and end of pieces of data. Before
> > Response.Wriet you need to clean-up these pointers.
> > Maarten.
> >
> >
> >
> > "xingye" <xingye@sohu.com> schreef in bericht
> > news:OMCDhxxHEHA.1048@TK2MSFTNGP12.phx.gbl...
> > >
> > >
> >
> >
>
>



Re: can i modify the content in the buffer of response(not response.buffer prep) by xingye

xingye
Sun Apr 11 02:45:37 CDT 2004

Yes, I understand server side and client side.

I want to Change the page at server side. I want to translate then page from
one language to the other.....



Re: can i modify the content in the buffer of response(not response.buffer prep) by Maarten<