Session object error 'ASP 0102 : 80004005'

Expecting string input

/Counter/Counter.inc, line 24

The function expects a string as input.