Webviewer Step Count Problem

how to count how many step webviewer gone forward?

Why you need this feature?

@Satwik Please elaborate more what you are trying to do?

I am making an app which contain a website. In that app when website load, after login if user do some forward steps then I want count them so if user back press the back button of smartphone so user can go back.

(I want to prevent him to go login page again & again)

@Satwik if you want to prevent user from going back to the login page then you can save website cookies. Use any webview extension like custom webview etc