• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Login Page

 
Gaurav Bagha
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to create an application with a login page.But once the user enters his credentials and click on the button and a new page appears,he must not be able to go back to login page unless he logs out i.e back tab of browser must be disabled or something.How to do this?
 
ntumba lobo
Ranch Hand
Posts: 180
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basically you want to break a default browser behaviour (back button). It could be confusing for an end user.
After logining in successfully and being presented a new page, if the user presses the back button in the browser what should he see ? the same page again, a default home page ?

Anyway if you have to implement this feature the solution will depend on you have currently in place in your application in term of techno and authentication model.
But I think the HTTP session will have a role to play
 
Sushil Jamsandekar
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can use intercepting filter to filter out the request. Check in session if user is logged in and prevent the request going to login page
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic