disable asp.net characteristics

  • Thread starter Thread starter Aaron
  • Start date Start date
A

Aaron

How do I turn off things in an asp.net generated html source that shows it
is generated by asp.net? things like viewstate and others i don't know of.
people can tell if a html is generated by asp.net just by looking at the
source, how can i prevent that so my asp.net generated pages just look like
pages generated by php or static html.

Thanks in advance
Aaron
 
to remove asp.net header, remove the custom header generated by iis (see you
site setup in iis manger). you can delete the <meta> comments in the source
easily enough.

asp.net requires the __viewstate hidden field. to get rid of it, you need to
write an httpmodule that parases the output heml and changes the name, it
will also need to parse the postback data and do a matching rename.

-- bruce (sqlwork.com)


| How do I turn off things in an asp.net generated html source that shows it
| is generated by asp.net? things like viewstate and others i don't know of.
| people can tell if a html is generated by asp.net just by looking at the
| source, how can i prevent that so my asp.net generated pages just look
like
| pages generated by php or static html.
|
| Thanks in advance
| Aaron
|
|
 
Back
Top