when i login the page then it navigate to the home page and when i logout then i came back to the login page, the problem is that when i click the back button in the browser then the page navigate to the home page without login it..

Recommended Answers

Hi vinaysrk,
you should use sessions for both login and logout,
Logout is not process of navigating particular page to login page again ,
you can use session variables for this

Jump to Post

All 3 Replies

Hi vinaysrk,
you should use sessions for both login and logout,
Logout is not process of navigating particular page to login page again ,
you can use session variables for this

Hi vinaysrk,
you should use sessions for both login and logout,
Logout is not process of navigating particular page to login page again ,
you can use session variables for this

can u describe me in full by giving code of login and logout by using session.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.