-
Notifications
You must be signed in to change notification settings - Fork 8
HTTPSession Support
Lance edited this page Jan 22, 2014
·
2 revisions
By default, HTTPSession support is switched on in Atmosphere. This means that AtmosphereResource.session()
and AtmosphereResource.session(boolean create)
will return the HTTPSession. If you don't wish to incur the overhead of HTTPSession support in Atmosphere, you can switch it of using the following in your app module.
public static void contributeAtmosphereHttpServletRequestFilter(MappedConfiguration<String, String> config) {
config.override(ApplicationConfig.PROPERTY_SESSION_SUPPORT, "false");
}
More documentation here