PC Review


Reply
Thread Tools Rate Thread

disable asp.net characteristics

 
 
Aaron
Guest
Posts: n/a
 
      7th Mar 2005
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


 
Reply With Quote
 
 
 
 
=?Utf-8?B?QWxiZXJ0IFBhc2N1YWw=?=
Guest
Posts: n/a
 
      7th Mar 2005
Try :

Response.ClearHeaders();

Al

"Aaron" wrote:

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

 
Reply With Quote
 
bruce barker
Guest
Posts: n/a
 
      7th Mar 2005
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)


"Aaron" <(E-Mail Removed)> wrote in message
news:%23%(E-Mail Removed)...
| 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
|
|


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Link Bar characteristics CBC Microsoft Frontpage 3 27th Mar 2010 04:25 PM
Re: help about browser characteristics Juan T. Llibre Microsoft ASP .NET 0 29th Aug 2005 01:19 PM
disable asp.net characteristics Aaron Microsoft ASP .NET 2 7th Mar 2005 07:18 PM
Display Characteristics Steve Windows XP Configuration 2 30th Sep 2004 04:46 PM
Thermal characteristics of MB & CPU SRobert DIY PC 1 13th Jul 2003 03:44 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:58 PM.