in reply to Invalid value for shared scalar

Shared variables may not contain object refs, is that by any chance what's biting you here? $session does look like an object ref from the way you're using it.

Remember rule one...

Replies are listed 'Best First'.
Re^2: Invalid value for shared scalar
by thcsoft (Monk) on Apr 30, 2005 at 00:36 UTC
    yes, you're right, thx 4 reminding me. :)