Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 4th, 2005, 06:00 AM
Registered User
 
Join Date: Apr 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to gurucharan_cs
Default problem with back button.

hi
  i am gurucharan. new bie to programming.
i got a problem. i m developing an application.
when an user logs in, he 'll do all the things in the application.
when he logged out, he's gone to the login page.
then i m getting problem. when he clicks back button on browser,
he is going to the same page he visited before logout.

i m using jsp and using sessions to maintain username,password.

thank you,
gurucharan.


gurucharan.
 
Old April 6th, 2005, 07:12 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

Hii gurucharan_cs
Do not cache the page,
and include a file say CheckSession.jsp in every jsp page except login.jsp page.
This file is used to check whether the user's session is valid or not

When user logout ,just abandon the session and Redirect/Transfer the user to home page.

Hope this will help you


Cheers :)

vinod





Similar Threads
Thread Thread Starter Forum Replies Last Post
back button problem k.manisha ASP.NET 1.0 and 1.1 Professional 4 October 30th, 2006 04:32 AM
Problem with the Back button aldwinenriquez Classic ASP Basics 2 June 24th, 2005 01:53 AM
Browser's BACK Button Problem phungleon Classic ASP Databases 6 May 16th, 2005 03:10 PM
Back Button Problem someshtrivedi General .NET 0 February 7th, 2005 05:43 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.