0
Answer

when logout unable back button of browser or forward history

Gururaj Shinde

Gururaj Shinde

15y
2.4k
1

My web application consists of 4 pages say login.aspx(startup page),page1.aspx,page2.aspx,page3.aspx.

When user logins he get access to remaining pages. I have placed linkbutton named logout on these three pages & i have given postbackurl  login.aspx to these linkbuttons.Now i want that when user clicks logout from any page,he cannot get back to these pages when he clicks the back button of his browser.

The problem i am getting that when i clicks logout from any page,login.aspx is loaded but by clicking back button of browser i again access previous pages.

So what would i have to do.Please guide me..

Thanks...

Gururaj