Help needed with CGI Sessions

I’m having lots of trouble figuring out how CGI sessions work…
this is my code and result: http://omploader.org/vOWt2 - I can’t seem to
be able to store anything in the session - must be doing something
seriously wrong.
Thanks a lot!