Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. webfarm with state server session mode

webfarm with state server session mode

Scheduled Pinned Locked Moved ASP.NET
sysadmintutorial
8 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tejesh123
    wrote on last edited by
    #1

    hi all I am trying to create a web farm in iis6. I have set session mode=stateserver. But the session expires frequently .please guide on this Tejesh

    C A 2 Replies Last reply
    0
    • T tejesh123

      hi all I am trying to create a web farm in iis6. I have set session mode=stateserver. But the session expires frequently .please guide on this Tejesh

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      tejesh123 wrote:

      But the session expires frequently .please guide on this

      Be more specific. Does it time out? Does it simply lose the session when it transfers to another machine in the farm? Have you synchronised the machine key across the servers? Have you ensured that the IIS Identfier is the same for the website across all servers? Can each of the web servers see the state server?

      *Developer Day Scotland - Free community conference Delegate Registration Open

      T 1 Reply Last reply
      0
      • C Colin Angus Mackay

        tejesh123 wrote:

        But the session expires frequently .please guide on this

        Be more specific. Does it time out? Does it simply lose the session when it transfers to another machine in the farm? Have you synchronised the machine key across the servers? Have you ensured that the IIS Identfier is the same for the website across all servers? Can each of the web servers see the state server?

        *Developer Day Scotland - Free community conference Delegate Registration Open

        T Offline
        T Offline
        tejesh123
        wrote on last edited by
        #3

        Thx for the Soln

        Y 1 Reply Last reply
        0
        • T tejesh123

          hi all I am trying to create a web farm in iis6. I have set session mode=stateserver. But the session expires frequently .please guide on this Tejesh

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          Hope this article will help you Exploring Session in ASP.NET

          cheers, Abhijit CodeProject MVP

          T 1 Reply Last reply
          0
          • A Abhijit Jana

            Hope this article will help you Exploring Session in ASP.NET

            cheers, Abhijit CodeProject MVP

            T Offline
            T Offline
            tejesh123
            wrote on last edited by
            #5

            Thx Abhijit a very nice article on Session state management.. Well i am testing the same for the Web garden getting session timeout. I also edited the machine.config file for webgarden=true and also set the appropriate cpu mask.. Am i missing something

            A 1 Reply Last reply
            0
            • T tejesh123

              Thx Abhijit a very nice article on Session state management.. Well i am testing the same for the Web garden getting session timeout. I also edited the machine.config file for webgarden=true and also set the appropriate cpu mask.. Am i missing something

              A Offline
              A Offline
              Abhijit Jana
              wrote on last edited by
              #6

              Did you gone through the all question that asked by colin? Does you State Server Process Is running? Database is configure properly ?

              cheers, Abhijit CodeProject MVP

              T 1 Reply Last reply
              0
              • T tejesh123

                Thx for the Soln

                Y Offline
                Y Offline
                Yusuf
                wrote on last edited by
                #7

                tejesh123 wrote:

                Thx for the Soln

                That shows either you did not read the reply or you're too ignorant to differentiate between question and comment. If you can not understand such simple reply, I wonder how you will resolve your issue? You could have simply thanked for the reply and mentioned you look into it, or get back to him later, which shows your gratitude and comprehension. :doh:

                Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]

                1 Reply Last reply
                0
                • A Abhijit Jana

                  Did you gone through the all question that asked by colin? Does you State Server Process Is running? Database is configure properly ?

                  cheers, Abhijit CodeProject MVP

                  T Offline
                  T Offline
                  tejesh123
                  wrote on last edited by
                  #8

                  Sorry to frame wrong question. My session expires when it tries to jump among CPU's .Yes the state server is configures properly and the database is also working properly. No issues when no of worker processes set to 1,but soon they are increased it times out. I have already added state server in web.config and webgarden also set to true in machine.config It seems to be I am missing out some step ,cant get exactly where..?

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups