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. Server not remembering Session Variables

Server not remembering Session Variables

Scheduled Pinned Locked Moved Web Development
sysadminbeta-testing
4 Posts 3 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.
  • M Offline
    M Offline
    MaxRelaxman
    wrote on last edited by
    #1

    I'm having trouble setting up a web site for my beta testers. On my local everything runs perfectly but the on the server, the web session doesn't seem to be remembered. Here's the session state part of my web.config file I've tried using StateServer instead of InProc with the server running the session state process but still no luck. From what I understand, InProc should be fine if you're on a single server with only a couple fields stored in the session state anyway. Thanks in advance!

    P M 2 Replies Last reply
    0
    • M MaxRelaxman

      I'm having trouble setting up a web site for my beta testers. On my local everything runs perfectly but the on the server, the web session doesn't seem to be remembered. Here's the session state part of my web.config file I've tried using StateServer instead of InProc with the server running the session state process but still no luck. From what I understand, InProc should be fine if you're on a single server with only a couple fields stored in the session state anyway. Thanks in advance!

      P Offline
      P Offline
      Paddy Boyd
      wrote on last edited by
      #2

      Does your test system have underscores in the domain name? IE has problems maintaining session state if this is the case...

      M 1 Reply Last reply
      0
      • P Paddy Boyd

        Does your test system have underscores in the domain name? IE has problems maintaining session state if this is the case...

        M Offline
        M Offline
        MaxRelaxman
        wrote on last edited by
        #3

        Nope, the domain and server names don't have any special characters. I'm thinking it might be because I haven't run aspnet_regsql.exe yet (discovered while googling). It doesn't seem like doing that would have anything to do with sessions but I'm running out of ideas. Thanks for your answer though :v)

        1 Reply Last reply
        0
        • M MaxRelaxman

          I'm having trouble setting up a web site for my beta testers. On my local everything runs perfectly but the on the server, the web session doesn't seem to be remembered. Here's the session state part of my web.config file I've tried using StateServer instead of InProc with the server running the session state process but still no luck. From what I understand, InProc should be fine if you're on a single server with only a couple fields stored in the session state anyway. Thanks in advance!

          M Offline
          M Offline
          Morantex
          wrote on last edited by
          #4

          We do plan to include a SessionStateProvider class in our next beta, so I wanted to make you aware of this technology. You are encouraged to download the current Persistore beta and experiment with it, it will be possible to persist session and other data in ASP.NET apps easily and efficiently. The current beta includes a basic implementation of a MembershipProvider, which may be enough to whet your appetite. (Our own website uses it for user registration and login etc). Questions, comments etc always welcome. Hugh

          Advanced .NET Persistence http://www.morantex.com

          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