in reply to cgi session

This appears to be pasted together from a number of unrelated examples. What is $sid for? Where does $session come from? [ Sorry, missed the assignment in line 011. Please adjust indentation and line spacing. ]

What is this supposed to do if it is "working fine"? I don't see how calling a method of an undefined variable can be characterized that way.

After Compline,
Zaxo