Also update session before releasing var to make sure current page var is saved before lock is released.
Also update session before releasing var to make sure current page var is saved before lock is released.

Curufir/smr,hemberger/smr,gamedevforks/smr,Curufir/smr,Curufir/smr,smrealms/smr,tmaus/smr,hemberger/smr,smrealms/smrv2.0,smrealms/smrv2.0,gamedevforks/smr,smrealms/smrv2.0,hemberger/smr,gamedevforks/smr,tmaus/smr,smrealms/smr,hemberger/smr,smrealms/smr,smrealms/smrv2.0,gamedevforks/smr