Urgent question about machine key for webserver in web farm

Discussion in 'ASP .Net' started by Leo Muller, Feb 16, 2005.

  1. Leo Muller

    Leo Muller Guest

    I am running webservers in a web farm (multiple servers), and I want to use
    the viewstate. I do not want to disable the viewstate encryption check. I
    also run multiple sites on the same webservers.

    Therefore I want to add a fixed machine key to each site seperately. I know
    this can be done on the machine in the general settings, but I want to add
    this in each of the web.config files of each site on each server. Will this
    work? Or is the only option to add this to the machine.config?

    Please only reply if you are sure about the answer.

    Thanks,
    Leo Muller
     
    Leo Muller, Feb 16, 2005
    #1
    1. Advertising

  2. Leo Muller

    Karl Seguin Guest

    You should be able to Leo,
    check out
    http://www.aspnetresources.com/articles/ViewState.aspx

    and scroll down to "Protecting View State: Web Farm Scenario" or do a
    simple google search on "ASP.Net webfarm viewstate machineKey"

    Karl

    --
    MY ASP.Net tutorials
    http://www.openmymind.net/


    "Leo Muller" <> wrote in message
    news:cuv203$c00$...
    > I am running webservers in a web farm (multiple servers), and I want to

    use
    > the viewstate. I do not want to disable the viewstate encryption check. I
    > also run multiple sites on the same webservers.
    >
    > Therefore I want to add a fixed machine key to each site seperately. I

    know
    > this can be done on the machine in the general settings, but I want to add
    > this in each of the web.config files of each site on each server. Will

    this
    > work? Or is the only option to add this to the machine.config?
    >
    > Please only reply if you are sure about the answer.
    >
    > Thanks,
    > Leo Muller
    >
    >
     
    Karl Seguin, Feb 16, 2005
    #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. Steve

    Web Farm/Web Garden

    Steve, Jan 21, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    20,166
    Elliot M. Rodriguez
    Jan 21, 2004
  2. David
    Replies:
    6
    Views:
    451
    Girish Bharadwaj
    Sep 14, 2004
  3. pmkatz
    Replies:
    0
    Views:
    404
    pmkatz
    Aug 25, 2004
  4. Karen Grube

    Urgent: How can I get the enter key to behave like a tab key?

    Karen Grube, Nov 28, 2004, in forum: ASP .Net Web Controls
    Replies:
    3
    Views:
    309
    Karen Grube
    Nov 29, 2004
  5. M P
    Replies:
    1
    Views:
    500
Loading...

Share This Page