Add a comment to WebGUI::Session::Var::start that if no userSessionId is passed

that a new userSessionId will be created and that the current sessionId (the actual
session object's id) will be set to this new id.
Add several new tests to Session/Var.t  Tried hard to exploit the change in 
sessionId and haven't found a way, yet.
This commit is contained in:
Colin Kuskie 2006-09-22 03:44:34 +00:00
parent 44884ef7c8
commit 56e78708a4
2 changed files with 59 additions and 9 deletions

View file

@ -211,7 +211,8 @@ sub session {
=head2 start ( [ userId, sessionId ] )
Start a new user session. Returns the session id.
Start a new user session. Returns the user session id. The session variable's sessionId
is set to the var object's session id.
=head3 userId