Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JSP-Servlet should not go back to index.jsp when press on the link logout

Have Programming Question? Ask it here!
 
 
 


Gaurav Goel
should not go back to index.jsp when press on the link logout
0 Answer(s)      2 years and 2 months ago
Posted in : JSP-Servlet


Hello i m having a problem in my servlet page.Actully what i m trying to do is that i made a index.jsp page in which i m having the two labels user id and password and their corrosponding text fields.now i made a servlet class i.e. SessionServlet.java in which i print the message "you havesuccessfully logined" and also i've get the session and on the same servlet page i give a link of logout.bt now when i click on this link then it will move to the another page i.e. Logout.java.but now the problem is this ,when i press the back arrow on the browser on the SessionServlet.java then it will move to the previous page i.e. index.jsp. that should not be happened. so please help me out from this problem.


Advertisement
View Answers

Related Tutorials/Questions & Answers:
should not go back to index.jsp when press on the link logout
should not go back to index.jsp when press on the link logout  Hello... when i click on this link then it will move to the another page i.e. Logout.java.but now the problem is this ,when i press the back arrow on the browser
should not go back to index.jsp when press on the link logout
should not go back to index.jsp when press on the link logout  Hello... when i click on this link then it will move to the another page i.e. Logout.java.but now the problem is this ,when i press the back arrow on the browser
Advertisements
should not go back to index.jsp when press on the link logout
should not go back to index.jsp when press on the link logout  Hello... when i click on this link then it will move to the another page i.e. Logout.java.but now the problem is this ,when i press the back arrow on the browser
After Logout Back Button Should not work again
After Logout Back Button Should not work again  Hi deepak,, I am doing Login Page,.. IN That If Logout Then When I Click Logout Button It Should...")!= null){ //then show the logout button }else{ // show the login button
Should not logout after clicking the back/forward button
Should not logout after clicking the back/forward button  Hi all I have wrote a code for login now. User is able to login but after logging in when he clicks on the back button user automatically gets logged out. very next
uinavigationcontroller go back
uinavigationcontroller go back  Hi, How to go back to the previous view on the navigation controller view. Write code for uinavigationcontroller go back. Thanks
click on back button go to the login page
click on back button go to the login page  now when i click on back button the page show that page on where i came from and it shows the session expired but i want when i click a back buttob then it should show a login page
How to disable browser back after logout - JSP-Servlet
page for logout and redirecting in login page. when i am clicking logout session... problem is, when i am clicking browser back button i can see my old visited pages.... Anyone having idea how to disable browser back button after logout, please
go back to previous view iphone sdk
go back to previous view iphone sdk  How to go back to previous view iphone sdk?    - (IBAction)backView:(id)sender { [self.navigationController popViewControllerAnimated:YES
after logout the page is going back - Java Beginners
after logout the page is going back  Dear friends can any one help me urgently, how to restrict our jsp pages from going back after logout. i 've did... give details "How to logout the page" to solve the problem. Thanks
How to disable browser back and forward button after logout [in struts2 or jsp]
How to disable browser back and forward button after logout [in struts2 or jsp]  How to disable browser back and forward button after logout... noback() { window.history.forward(); } but not working. When I
how to prevent from navigating Back after logout or session expire in jsp
how to prevent from navigating Back after logout or session expire in jsp  Hii Sir, I am making a web app in which after logout one can go to back pages from the browsers back button which i dont want in my app. Plz
How to load elements from db when i press next.
How to load elements from db when i press next.  Hello , I am working... at a position. I am using MySql at back end ,. My query is:- Suppose I clicked a link... means when i click next, the next 20 books will be displayed from db on the same
Logout?
Logout?  how to logout from a jsp page?   Hi to logout from Jsp Page.you should use session.invalidate() method. *khalidkhan
How to disable browser back after logout - JSP-Servlet
How to disable browser back after logout  thanks deepak, i tried but if i am clicking back still i can see my old pages. i copied your code in my logout page. please if you have any other solution, please give me
Should we go for javascript or applets for online exam project using java
Should we go for javascript or applets for online exam project using java ... soon as the candidate login successfully a window pop up should appear with question and options. This window pop up should accomplish the entire monitor screen
Display set of names in array when we press the first letter
Display set of names in array when we press the first letter  Please help to write a program which have to display set of names in the array when we click the starting letter (like in gmail if we press the letter it will show
display a list of names(when we press first letter)
display a list of names(when we press first letter)  If i gave 1character the name start wth that characteer has to be displayed... using java   import javax.swing.*; class Name { public static void main (String
forwarding request to a jsp when user clicks on back button in ie
of the application, We should not allow the customer to go back to the previous page. Can we forward request to a jsp page whenever user clicks on back button...forwarding request to a jsp when user clicks on back button in ie  Hi
logout problem.. - JSP-Servlet
but their is some problem with the the logout,i m not able to logout when...(M.V.C),when a user login's and after doing some work he click logout he... i want to explain. once again once a person has logout he should not be able
link
the next link i have to refresh the page instead i want to do is when i click the link the table should display and again when i click the link the table should...link  Thank you Friend.Another think i want to ask is when i click
How to change table row color when click on Hyper Link in jsp?
How to change table row color when click on Hyper Link in jsp?  I use 5 links: Link 1 Link 2 Link 3.. table: row1 row2 row3.. when click on the link1 automatically change
why should we over ride hashCode(), when equals was over ride()?
why should we over ride hashCode(), when equals was over ride()?  why should we over ride hashCode(), when equals was over ride
logout validation - JSP-Servlet
logout validation  sir in my application when i m logging out.it is still going to the back page.so, kindly send me the code which can restrict... something like this(index.jsp)"); hope this work fine
How to prevent from navigating to ck buttonnext page when user reaches login page using back button
How to prevent from navigating to ck buttonnext page when user reaches login page using back button  Hi sir, I have created 2 pages, 1) Lo gin Page 2)Page with link to open pdf files When i lo-gin,it takes me to 2nd page where
link
and when a particular option is clicked it should be saved in another database and details related to that link should be diaplay and stored in the database... which when clicked displays some data and "conference " is stored in another
when radio button is selected corresponding jsp page should open
when radio button is selected corresponding jsp page should open  how to write code in HTML & jsp, when we click on radio buttons the corresponding jsp page should open..!   <html> <script> function
LINK
LINK  Thank you friend.cant we use single click instead of double click and also for four link u has given the example but i have 14 links in that case wat i should do
how can create pop() method in this program ,Or how can delete image in it when i press pop button in runtime ??? please help me ...
how can create pop() method in this program ,Or how can delete image in it when i press pop button in runtime ??? please help me ...   ... safety, * this method should be invoked from the * event-dispatching thread
LINK
want to do is when i click the link the table should display and again when i click the link the table should not display... i want to ask is when i click the link the table is displayed and other links
login and logout
login and logout   > > > > hi, > >... button with value logout > > and in the action i had given the home.jsp page. > > > > The problem is, when i am
Going Back to Basics of Social Media Marketing
Social Media Marketing: Going Back to Basics Social Media Marketing should... in their promotional strategy plan, they need to go back to the basics to learn the first... it will be used should be detailed in the plan. Once the types of social media
logout problem
logout problem  I am stuck in my application --- hope anyone can take me out of this... the problem is -- when i logout , the user goes to logout.jsp (as simple), but when he presses back button , he again sees the page , where
logout - Struts
logout  how to make code in struts if i click the logout button then no body can back refresh the page , after logout nobody will able to check the page Thanks Anil  Hi anil, //... session.removeAttribute
link
link  hey frnds can anyone plz tell me how can i store my videos as link in my database and can retrive the video using servlet by clicking on to that link .it may be confusing sorry about that and if someone can than plz help me
Logout - JSP-Servlet
Logout   HOW TO REMOVE SESSION ID.. IF SISSION LOGOUT . WHEN I PRESS REFRESH BROWSER DEFAULT SESSION ID WILL BE CREATED.FIND THE SOLUTION ABOUT... please click on the given url you will find good example about login/logout
Logout Servlet - JSP-Servlet
Logout Servlet  Hello. I am trying to write servlet that will log user out when the user clicks the log out button or link. Please help
login-logout
login-logout  how to do login and logout using session in php
data should not repeat in the drop down list when it is loading dynamically from database
data should not repeat in the drop down list when it is loading dynamically... the department names are repeated)actually it should not happen.when once a department name is given it has to come only once and when new department is entered it should
data should not repeat in the drop down list when it is loading dynamically from database
data should not repeat in the drop down list when it is loading dynamically... department names are repeatedly adding when ever we insert the same same name (i.e when... then that name appears for 4 times )actually it should not happen.When once that name
data should not repeat in the drop down list when it is loading dynamically from database
data should not repeat in the drop down list when it is loading dynamically... of the persons working in that department should come and when new department is added... the database but when we give same department name it is repeting i.e if we enter
Automatic key press
Automatic key press  Hi Please any one help me is it possible automatic key press in j2me
Back button
Back button  how to redirect to a home page when a back button is pressed in jsp instead of displaying the previous page
logout - JSP-Servlet
logout  i want to know that (using only servlet technology not jsp) i create login page(html) ,registration.html, home page(servlet) and other pages. when i click the logout(hyperlink) then session is logout frequently
logout code in JSP
logout code in JSP  im using session.invalidate() for logout but its not working
Flower Shop Ordering To Go
Flower Shop Ordering To Go   Create a flower shop application which... a particular flower to a bouquet depends on the user choice. HINT: you should keep track of the number of objects and when you may need to order more flower from
disabling back button
disabling back button  hi, i am trying to make an application and i stuck at the point after login.. when i could logged in successfully then if i press back button i again reach to the back page ie. authentication page so if any
disable back button - Java Beginners
displayed but..when i click back button i go back to the register page which should...disable back button  I wanted the code for disabling back button in my application(The scenario is like when im in my register user page and try
Press button and Scroll Image to Scrollpanel
Press button and Scroll Image to Scrollpanel  Insert image into the jpanel,inside the jscrollpane.If i press the button and scroll image
logout problem?? - JSP-Servlet
logout problem??  sir, the logout code which u have send is not the proper solution coz,by using this code the browser get closed which shuold not happen.to logout properly i think we should empty or clear the browser
Advertisements
 

 

 

DMCA.com