CRC for HTTP header

J

Jochen Müller

I want to add a CRC field to the HTTP header that contains a kind of
checksum over the whole page content.

1. Where have I to place the CRC calculation? I tried to do it in the
Page_Unload event:
Response.AppendHeader("CRC", crc_val)
but it refused!

2. Is there an already implemented CRC feature in ASP.NET that I can use?

Thanks for your reply!
 
K

Kevin Spencer

Headers have to be written before any Page content is sent. Headers are in
the HTTP message BEFORE the HTML.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top