473,385 Members | 1,400 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

enableViewStateMac

A.M
Hi,

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

Thanks,
Alan
Nov 18 '05 #1
2 2217
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****************@TK2MSFTNGP09.phx.gbl...
Hi,

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

Thanks,
Alan

Nov 18 '05 #2
Google: "Configuration File Schema"+"web.config"

You'll have to do your own drill-down but at least you'll
be able to determine if the enableViewStateMac 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**************@TK2MSFTNGP09.phx.gbl...
Hi,

How can I turn on enableViewStateMac 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
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...
0
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
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
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
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...
1
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...
1
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
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...
1
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.