Click Framework  History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: CLK-371
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Malcolm Edgar
Reporter: Bob Schellink
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Click

manually invalidating HttpSession leads to exceptions

Created: 27/May/08 11:14 PM   Updated: 07/Jun/08 02:10 AM
Component/s: core
Affects Version/s: 1.5 M2
Fix Version/s: 1.5 M2


 Description  « Hide
If the HttpSession is manually invalidated exceptions will be thrown because Context#getSession() returns a cached invalid session.

To fix we could change Context#getSession to:

    public HttpSession getSession() {
        return request.getSession();
    }

 All   Comments   Change History      Sort Order:
Bob Schellink [28/May/08 01:32 AM]
fix will be available for 1.5-M2.

Issue need to be reviewed.

Malcolm Edgar [28/May/08 09:04 AM]
Yes there is probably no good reason for caching the session.