getAllSession method
Retrieves all session-related data.
Constructs a map containing session and cookies data.
Returns an Object with session and cookies data.
Implementation
Object getAllSession() {
var res = {
'session': session,
'cookies': cookies,
};
return res;
}