I know there are other ways (may be even easier) to get this done... my questions is why I\'m getting an error when using a variable instead of a session ID (i.e. 1, 2, 3)