473,586 Members | 2,754 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

enableViewState Mac

A.M
Hi,

How can I turn on enableViewState Mac in all pages in the application in
web.config rather than each single <@Page> directive?

Thanks,
Alan
Nov 18 '05 #1
2 2229
Try :
http://msdn.microsoft.com/library/de...gessection.asp
(pages section under system.web)


--

"A.M" <no*****@online .nospam> a écrit dans le message de
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Hi,

How can I turn on enableViewState Mac in all pages in the application in
web.config rather than each single <@Page> directive?

Thanks,
Alan

Nov 18 '05 #2
Google: "Configurat ion File Schema"+"web.co nfig"

You'll have to do your own drill-down but at least you'll
be able to determine if the enableViewState Mac attribute
can be declared in .config files.

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET csgallagher@ REMOVETHISTEXT metromilwaukee. com
URL http://www.metromilwaukee.com/clintongallagher/

"A.M" <no*****@online .nospam> wrote in message
news:#6******** ******@TK2MSFTN GP09.phx.gbl...
Hi,

How can I turn on enableViewState Mac in all pages in the application in
web.config rather than each single <@Page> directive?

Thanks,
Alan

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
5080
by: Simang | last post by:
Hi, I am trying to encrypt viewstate in my ASP.NET web site. I put these items in the web.config.. <pages enableViewStateMac="true" /> <machineKey validation="3DES"/> However, when I tried to access the .NET pages, I encountered the ff error:
0
1351
by: Simang | last post by:
Hi, Im just wondering, I set the enableViewStateMAC to true and the machineKey validation to 3DES is my web.config. How do I test my asp.net pages if its really working? Thanks! Mayet
1
1550
by: Eric Levin | last post by:
I would like to load the Meta Tags in the page from Code: Currently they don't come up. The Source that I have: private void LoadHeaders() { DataSet oDs = new DataSet();
2
6847
by: john | last post by:
Is this value default true or false. i've read its true in two different books and false in MSDN. does anyone know which it is?
5
4638
by: fm | last post by:
We are using ASP.NET State Server in our applications to protect session state from machine.config and IIS recycles. We also may cluster the servers in the future. We don't have the resources to setup a test environment so I was hoping I could get the answer from here. I came across...
1
1924
by: Tony Stiles | last post by:
Hi. I am running an ASP.NET app that is using ViewState. Everything is fine apart from an issue with viewstate. Is the client IP address taken into account in encrypting viewstate? Here is my scenario. Connect to internet. Obtain IP address. Log in to site. Use site. Get to a page that contains viewstate. Do a postback. Refresh page....
1
2452
by: John Grandy | last post by:
Could someone please provide the exact modification I need to make to web.config to set EnableViewStateMAC=True Thanks.
1
2423
by: obitoo | last post by:
I have an application that requires one page to have the EnableViewStateMac set to false as I have another page posting to this page. This is set in the page directive and works fine on my local machine. However, other developers with the exact same code are receiving the 'Unable to validate data' error because of an invalid ViewState. Why is...
1
1447
by: xamman | last post by:
hi there, i am busy coding a fix for Santa's package labelling system. i have come across some wierd behaviour with enableViewStateMac on this server. this web has a page a.aspx with a textbox and a submit button webform controls, and a page b.aspx displaying the contents of the textbox from a.aspx. the server.transfer method is being...
0
7911
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8200
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7954
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8215
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5390
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3836
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1179
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.