Issue Details (XML | Word | Printable)

Key: ABICLOUD-265
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Jaume Devesa
Reporter: Diego Parrilla
Votes: 0
Watchers: 0
Operations

Email this issue
Send issue summary in email
If you were logged in you would be able to see more operations.
Abiquo

Cannot logout of the console if session timeout expires

Created: 19/Oct/09 12:14 AM   Updated: 22/Oct/09 11:56 AM   Resolved: 19/Oct/09 03:09 PM
Component/s: User Interface
Affects Version/s: abicloud-1.0.0PR
Fix Version/s: abicloud-1.0.0PR2

Time Tracking:
Not Specified


 Description  « Hide
If session timesout, it's not possible to logout. You must reload the page again.

Xavier Fernandez added a comment - 19/Oct/09 06:57 AM
This is the normal work.

All the functionalities less login, requires that the session is active.

If this session is not active the user must log in.

Do you consider that it's not correct? If not, please, propose an alternative

Thanks

Diego Parrilla added a comment - 19/Oct/09 09:02 AM
This is not the normal behaviour of any web site.

When a session timeouts in a standard web site, the site responds informing that the session has expired AND redirects the user to the login page.

The application DOES NOT REDIRECT to the login page, leaving the user stuck in a non working application. This is absolutelly wrong and usesless.

Xavier Fernandez added a comment - 19/Oct/09 09:26 AM
Ok. I didn't understand you the first time.

Oliver Fernandez added a comment - 19/Oct/09 11:30 AM
BasicResult returned by server does not contain the proper resultCode (SESSION_INVALID or SESSION_TIMEOUT), so client can not find out when to redirect user to login screen

Jaume Devesa added a comment - 19/Oct/09 03:09 PM
Now, all the session exceptions are throwed from the BasicCommand method 'execute' before to call the explicity method and catched in the associated service.
The services, depending on the exception, fill the BasicResult.ResultCode argument to be treated by the Flex Client. (Return to the Login screen in the Timeout case).