I am very new to php. I am setting a unique session key while user log-in my website. Now the problem is i want to put the security same as in bank website.
for example. When user opens new tab in same window or a new window and paste the url direct in address bar after log in then the the generated session key should be expired and user should be log-out automatically.
For this i googled and come to know that server session is only expired when user close the browser or not click on the sign in button.
Or is there any other way to implement this facility any help is appriciated.