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
disable asp.net characteristics Aaron Microsoft Dot NET 2 7th Mar 2005 08:18 PM
Display Characteristics Steve Windows XP Configuration 2 30th Sep 2004 04:46 PM
How to make XP to retain the last viewing characteristics =?Utf-8?B?QmxvY2szMDY=?= Windows XP General 1 25th Aug 2004 07:04 AM
screen characteristics for armada 7400 deforsy Windows XP Customization 0 14th Jul 2004 02:35 AM
physical disk characteristics just joan Windows XP Performance 1 2nd Feb 2004 01:48 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:43 AM.