php - when user click back button in browser data get retrieved from cache -


i want when form in login.jsp submitted, loginaction.jsp first compares value field against lastlogon field's value in user database table. when lastlogon value form greater value in database considered valid login. valid login, field lastlogon in database should updated form's value update lastlogon's time. when browsers resubmit cache in case above, form's lastlogon value not greater database's lastlogon value, therefore loginaction.jsp forwards control flow login.jsp error message stating "session has ended. please log in.".

but if alter system time value retrieve system.currenttimemillis() change , none of have stated occur. instead of user able retrieve copy of data cache don't know. want know if system time altered have stated above occur or not.

if have stated above happens when 1 alter's system time same happen if use system.nanotime();

thanks in advance.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -