Last night I ran across a bug I had not seen before. I was hitting a dev site using sessions and I got a "Session is Invalid" error. A quick google search found this post over at bpurcell.org. This led to a Tech Note that describes how to fix the issue.