Re: Session state IIS (Machine Key | Load Balanced Session)

Discussion in 'ASP .Net' started by Teemu Keiski, Apr 16, 2006.

  1. Teemu Keiski

    Teemu Keiski Guest

    Hi,

    you'd also want to check settings in <sessionState> element in web.config
    (same state server IP etc). Basically you need tyo have same set of machine
    keys and have the same stateserver process serving all the servers.

    And check your machine's clock.

    --
    Teemu Keiski
    ASP.NET MVP, AspInsider
    Finland, EU
    http://blogs.aspadvice.com/joteke


    "Fred" <> wrote in message
    news:...
    > Hi... I want to enable session state on my IIS 5.0 servers - has anybody
    > tried this by doing using the below article, if so did you come across any
    > major issues and does it work well?
    >
    > Thanks!
    >
    > This page details what is to be done:
    > http://support.microsoft.com/?id=312906
    >
    >
    >
    > This key can be used (also in attached machineKey.txt file):
    >
    >
    >
    > <machineKey
    >
    >
    > validationKey="1C060F3715D25159CB72D5081731225DC621467DA0E9FB6A6F12232B09CDA
    > E8354E1D5BEA5B9665833D867895729581026A9A9AC95505A4C14917956C7075BA2"
    >
    >
    > decryptionKey="1A4EB90E247C65C1F41E17F2DBA94A796BAB338FF950E854"
    >
    > validation="SHA1"
    >
    > />
    >
    >
    >
    > Or a new one can be generated from the attached HashConfigCs.exe. Run it
    > with the command: hashconfigcs.exe 24 64
    >
    >
    >
    > The machine.config file is found here:
    > C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG
    >
    >
    >
    > Open the machine.config file, find the <system.web> section and replace
    > the
    > <machineKey> section with the above key.
    > Restart all IIS on the servers in the webfarm.
    >
    >
    > This should enable the ViewState and SessionState (for StateServer mode in
    > web.config).
    >
    >
     
    Teemu Keiski, Apr 16, 2006
    #1
    1. Advertising

  2. I tends to support ignoring posts from future. :p

    Only in this way, some people can be educated to set their clock to correct
    time when posting.

    "Teemu Keiski" <> ¼¶¼g©ó¶l¥ó·s»D:...
    > Hi,
    >
    > you'd also want to check settings in <sessionState> element in web.config
    > (same state server IP etc). Basically you need tyo have same set of
    > machine keys and have the same stateserver process serving all the
    > servers.
    >
    > And check your machine's clock.
    >
    > --
    > Teemu Keiski
    > ASP.NET MVP, AspInsider
    > Finland, EU
    > http://blogs.aspadvice.com/joteke
    >
     
    Lau Lei Cheong, Apr 25, 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. Garrek
    Replies:
    3
    Views:
    593
    Bobby Ryzhy
    Jul 12, 2004
  2. Vidyadhar Joshi
    Replies:
    1
    Views:
    504
    intrader
    Dec 28, 2005
  3. Otis Mukinfus
    Replies:
    0
    Views:
    463
    Otis Mukinfus
    Apr 16, 2006
  4. Dan Aldean
    Replies:
    3
    Views:
    719
    Alvin Bruney
    May 1, 2006
  5. Robin9876

    Session State on Load Balanced Web Site

    Robin9876, Nov 10, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    364
    Robin9876
    Nov 11, 2008
Loading...

Share This Page