Recent Posts
Calendar
November 2013
S M T W T F S
« Oct    
 12
3456789
10111213141516
17181920212223
24252627282930

Posts Tagged ‘session variables’

ASP.NET Session Variables Not Sticking

J01C0089I’ve stumbled across this problem twice in the last couple of months so I figure it is about time I blogged about it.

The situation is that you have  a page on your web site that sets a session variable and then redirects to another page that is expecting the variable to be there, only it isn’t there.

The first time this happened it was a browser specific (Internet Explorer) issue.

The second time it happened it seemed to be an email client specific issue.

Read the rest of this entry »

Type Safe Session Variables

H02C0001 This may be obvious to everyone else on the Internet.  Heck, it’s been obvious to me for several years.  But I can’t find anyone else writing about this and it makes so much sense that I’m kicking myself for not trying it earlier.  So…

The Problem

We’ve all been there.  We are coding away and need a session variable.  So we create one using code that looks something like: Read the rest of this entry »