Recent Posts
November 2013
« Oct    

Posts Tagged ‘session server’

When Session Objects Get Created With No Session Variables


I thought about calling this  Session Object Madness, but it really isn’t that crazy once you think through what’s happening.

Here’s the issue.  I have a client who does work for another client who is hosting their sites at IBM.

I’m told that IBM will not enable any session servers so none of the sites can include session objects.  And that’s where the fun begins.

Read the rest of this entry »

Storing a DataRow into a Session (server) variable

I recently ran into a situation where I needed to store a DataRow object, which is not serializable, into a Session variable using the Session Server.  As I mentioned yesterday, all sessions should be stored to either the Session Server or the SQL Session Server.  This means that all of the objects being stored must be serializable.

Read the rest of this entry »

The case of the disappearing session variables

Way back in ASP.NET version 1.1, I wrote one of my first web sites for a client that depended pretty heavily on session variables.  Without getting into the arguments about the wisdom of using session variables in the first place.  Let’s just say that we needed to store state information and that session variables were the best way to handle the issue.

We spent months working on the web site.  Everything worked fine during development and even as we tested the application… on our local computers.

But, once we put the application up on the server.  A shared server where a lot of other applications were also living, we suddenly found that the application would work, mostly.  But, every once in a while the application would act like it couldn’t find the session variables we were trying to store. Read the rest of this entry »