Server not remembering Session Variables
-
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!
-
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!
Does your test system have underscores in the domain name? IE has problems maintaining session state if this is the case...
-
Does your test system have underscores in the domain name? IE has problems maintaining session state if this is the case...
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)
-
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!
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