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

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -