ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pavlinсм <pavli...@anyoption.com>
Subject Re: Web app with CMS
Date Thu, 07 Jan 2016 12:47:55 GMT
Denis Magda wrote
> What do you use as a session key then when the session is stored in an
> Ignite cache for further usage?

The session is stored automatically by
org.apache.ignite.cache.websession.WebSessionFilter 


Denis Magda wrote
> What is a condition when a user is redirected to the login page rather
> then keep using its old session? 

Part of the site is visible for everybody, part of the site is visible for
authenticated users. When the user authenticates HttpServletRequest.login is
changing the session ID ( only the identifier of the session) ->
WebSessionFilter decides this is a new session and creates new entry in the
cache. Note that there is no link between old session ID and new session ID. 



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Web-app-with-CMS-tp2414p2427.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message