changing enableViewStateMac makes no difference

Discussion in 'ASP .Net' started by xamman, Dec 23, 2006.

  1. xamman

    xamman Guest

    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 used to navigate from a.aspx to
    b.aspx when submit is pressed

    in a.aspx i found the property enableViewStateMac = false

    this allows b.aspx to display the textbox from the viewstate from
    a.aspx

    when i changed enableViewStateMac to true and execute a.aspx, b.aspx
    can STILL view the textbox value from a.aspx!! shouldnt true
    disallow any other page from reading a.aspx viewstate?

    is there something i have overlooked or do i need to download a service
    pack? thx
    xamman, Dec 23, 2006
    #1
    1. Advertising

  2. xamman

    xamman Guest

    can anyone verify enableViewStateMac=true behaviour pls?

    xamman wrote:
    > 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 used to navigate from a.aspx to
    > b.aspx when submit is pressed
    >
    > in a.aspx i found the property enableViewStateMac = false
    >
    > this allows b.aspx to display the textbox from the viewstate from
    > a.aspx
    >
    > when i changed enableViewStateMac to true and execute a.aspx, b.aspx
    > can STILL view the textbox value from a.aspx!! shouldnt true
    > disallow any other page from reading a.aspx viewstate?
    >
    > is there something i have overlooked or do i need to download a service
    > pack? thx
    xamman, Dec 24, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. john
    Replies:
    2
    Views:
    540
    Teemu Keiski
    Aug 25, 2003
  2. A.M

    enableViewStateMac

    A.M, Jun 24, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    596
    clintonG
    Jun 24, 2004
  3. =?Utf-8?B?Zm1AbmV3c2dyb3Vwcy5ub3NwYW0=?=

    enableViewStateMac and Clustered servers with ASP.NET State Server

    =?Utf-8?B?Zm1AbmV3c2dyb3Vwcy5ub3NwYW0=?=, Sep 27, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    5,810
    Steven Cheng[MSFT]
    Sep 29, 2004
  4. Tony Stiles
    Replies:
    1
    Views:
    613
    Matt Hooper
    Feb 9, 2005
  5. John Grandy

    EnableViewStateMAC=True

    John Grandy, Apr 13, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    2,466
    Brock Allen
    Apr 13, 2005
Loading...

Share This Page