Skip to content

Prevent unexpected session creation #1078

@yanchevsky

Description

@yanchevsky

Every time a session is accessed, a session is created automatically. This is incorrect behavior if data placement into session is not used.
Problematic place:


public class SessionFacade implements Map {
...
    public Object get(String name) {
        return RequestContext.getHttpRequest().getSession(true).getAttribute(name);
    }

...
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions