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. session objects get lost when republish the page

session objects get lost when republish the page

Scheduled Pinned Locked Moved ASP.NET
help
5 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.
  • S Offline
    S Offline
    srinandan
    wrote on last edited by
    #1

    I am having some problem when trying to re-publish the website. My website a live and there are millions of user logged-in. I did some changes in our project and again when i am trying to uploading the published page (only updated single .aspx) and all dlls. The session of existing user get lost. as I want to maintain the existing user's session . Can anyone tell me how I can handle the problem. thanks, Sri...

    A D 2 Replies Last reply
    0
    • S srinandan

      I am having some problem when trying to re-publish the website. My website a live and there are millions of user logged-in. I did some changes in our project and again when i am trying to uploading the published page (only updated single .aspx) and all dlls. The session of existing user get lost. as I want to maintain the existing user's session . Can anyone tell me how I can handle the problem. thanks, Sri...

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      If you dont change the Web.config and/or replace dlls this will not happen. I have placed only aspx several times and found no issue. Have you changed your web.config ?

      Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


      My Latest Articles-->** Simplify Code Using NDepend
      Basics of Bing Search API using .NET
      Microsoft Bing MAP using Javascript

      S 1 Reply Last reply
      0
      • A Abhishek Sur

        If you dont change the Web.config and/or replace dlls this will not happen. I have placed only aspx several times and found no issue. Have you changed your web.config ?

        Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


        My Latest Articles-->** Simplify Code Using NDepend
        Basics of Bing Search API using .NET
        Microsoft Bing MAP using Javascript

        S Offline
        S Offline
        srinandan
        wrote on last edited by
        #3

        Thanks for ur reply, But i did not make any change in the web.config I am uploading only the dlls and aspx pages. but session expired. Any idea. Thanks, Sri...

        1 Reply Last reply
        0
        • S srinandan

          I am having some problem when trying to re-publish the website. My website a live and there are millions of user logged-in. I did some changes in our project and again when i am trying to uploading the published page (only updated single .aspx) and all dlls. The session of existing user get lost. as I want to maintain the existing user's session . Can anyone tell me how I can handle the problem. thanks, Sri...

          D Offline
          D Offline
          DoctorMick
          wrote on last edited by
          #4

          I can't remember off the top of my head, but does storing the session state in SQL get around this problem?

          S 1 Reply Last reply
          0
          • D DoctorMick

            I can't remember off the top of my head, but does storing the session state in SQL get around this problem?

            S Offline
            S Offline
            Suresh Pirsquare
            wrote on last edited by
            #5

            yes, you are correct. you can store the sessions in the state server.

            Everything Is Possible!

            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