disable asp.net characteristics

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
 
B

bruce barker

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
|
|
 

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

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top