java - Session management in client side -


in application want maintain session on client side, when user login first time had stored current time plus session time (lets 20 min) in preference. in baseactivity had written 1 method checks whether current time greater saved time if yes called loginactivity. every other activity in application extends baseactivity.

is approach efficient? other suggestion appreciated. in advance.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -