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



Home Answers Viewqa JSP-Servlet how can i make a session invalidate in java when browser is closed
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


satchidanand mohanty
how can i make a session invalidate in java when browser is closed
2 Answer(s)      4 years and 2 months ago
Posted in : JSP-Servlet


how can i make a session invalidate in java when browser is closed


Advertisement
View Answers

October 28, 2010 at 3:16 PM


as per my understanding sessions automatically expires once browser is closed



October 28, 2010 at 3:30 PM


Hi deepak, Thanks,

But it happens after sometime like which we have fixed inside the web.xml file.I want to do this like banking application i.e. same userid can not login at multiple browsers/machines. if any user is using the application and closed without logout and reopened the same after 1 minute that shows the user account page fetching from session(same browser). So I wanted to make the session invalid when browser/tab is closed like gmail.

Thanks in advance, zeet



Related Tutorials/Questions & Answers:
how can i make a session invalidate in java when browser is closed
how can i make a session invalidate in java when browser is closed   how can i make a session invalidate in java when browser is closed   ... to make the session invalid when browser/tab is closed like gmail. Thanks
how to make session valid even browser has closed - Java Interview Questions
how to make session valid even browser has closed  Hi, I have doubt that session will close when we close the web browser. My doubt is, even when I close the browser my session should not close or delete. How can I do
Advertisements
session invalidate.
session invalidate.  how to invalidate session? i am calling session.invalidate()but not working
Invalidate Session in JSF
Invalidate Session in JSF  Invalidate Session in JSF How to invalidate session in JSF?    ExternalContext#invalidateSession() - can be used to invalidate session in JSF. See the code below.. @ManagedBean @SessionScoped
how can i make monthly register ?
how can i make monthly register ?  how can i make monthly register ? iam using jdeveloper
What is the default session time in php and how can I change it?
What is the default session time in php and how can I change it?  What is the default session time in php and how can I change
how i get experience wise resume from database when i submit from browser
how i get experience wise resume from database when i submit from browser  how i get experience wise resume from database when i submit from browser   Please go through the following link: Visit Here
How can I learn Java?
How can I learn Java?  Hi, I have just completed a course in HTML.... Now I want to learn Learn Java programming and become the expert in Java programming. How can I learn Java? in shortest possible time. I mean I just want to begin
how can clear the browser cache memory using java script
how can clear the browser cache memory using java script  how can clear the browser cache memory using java script
how can i close a frame. - Java Beginners
how can i close a frame.  Hi, My question is how can we close... frames as i go on clicking button...........can we have like when i click on button...............my target is when i click on that button, a new frame is coming and updated table
how can i run tomcat server and my home page come when i double click on an icon in servlets
how can i run tomcat server and my home page come when i double click on an icon in servlets  Hi.. there if we are giving a small application to end user he does not know to run server by service runner... and he does not know
how can i run tomcat server and my home page come when i double click on an icon in servlets
how can i run tomcat server and my home page come when i double click on an icon in servlets  Hi.. there if we are giving a small application to end user he does not know to run server by service runner... and he does not know
how can i run tomcat server and my home page come when i double click on an icon in servlets
how can i run tomcat server and my home page come when i double click on an icon in servlets  Hi.. there if we are giving a small application to end user he does not know to run server by service runner... and he does not know
how can i run tomcat server and my home page come when i double click on an icon in servlets
how can i run tomcat server and my home page come when i double click on an icon in servlets  Hi.. there if we are giving a small application to end user he does not know to run server by service runner... and he does not know
hi , i cant make this programmer , can any one help me to make it pls - Java Beginners
hi , i cant make this programmer , can any one help me to make it pls  ...://www.roseindia.net/java/example/java/io/ Thanks  i want to make the whole program. i cant find delete records or update records  pls can
how to make session timeout programatically - JSP-Servlet
how to make session timeout programatically  hi, i have a login page with username and password. how to make session timeout for 10minutes... to make session timeout programatically, you can use the method
How can java programs execute automatically when it connects to network
How can java programs execute automatically when it connects to network  Good Day dears... How can java programs execute automatically when it connects to network. Thanks in Advance friends Shackir   How can i Test
how can i simplify my java code
how can i simplify my java code  /* Create a program that prompts... c=0;int f=0;int i=0; int counter=0; int starter=0; int cot=1...)(Math.random() * 9 +cot); h = (int)(Math.random() * 9 +counter); i = (int
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 ...   ...) JOptionPane.showMessageDialog(null," Album is Full you can not push the image ."); else
how to make employee i card
how to make employee i card  hello friends can anyone help me.. I have to make a project to make Identity card for employees...but i am facing problems with database and jsp connection ... also tell me how to retrive data
How can we register the variables into a session?
How can we register the variables into a session?  How can we register the variables into a session
How can we know that a session is started or not?
How can we know that a session is started or not?  How can we know that a session is started
How can i write a datagrid coding - Java Beginners
How can i write a datagrid coding  Hi, I want make a datagrid..plz send me datagrid coding using mysql database and jsp..plz tell me brief description about grid how can i connect datagrid with database. Thanks
how can i connected jsp wih mysql - Java Beginners
how can i connected jsp wih mysql  i have a code jsp file and connection file connection file will be compiling successful. i m using session in my... to connect this and how can i use it plz help me its very urgent plz send my
JDBC connection closed.. - Java Beginners
the connection (jdbc) is closed)   Hello, As i know after connection closed you will get the value.I tried your question and found...JDBC connection closed..  if the connections r closed..the values
how can i create a data grid - Java Beginners
how can i create a data grid  Nice to ur respose...thnks all of u plz help me i want make a datagrid but i have no idea about this how can i create datagrid. and how can i connect to the database plz help me give
how can i achieve multiple inheritance in java without using inheritance ?
how can i achieve multiple inheritance in java without using inheritance ?  how can i achieve multiple inheritance in java without using inheritance
how can i close particular frame in swings - Java Beginners
how can i close particular frame in swings  Hi, I want to know, how can we close a particular frame when mulitple frames are appearing as output... in swings and three frames are having their own close buttons and when i click
How i can send testing mail on my id using java?
How i can send testing mail on my id using java?  Which packages i should use to implementing java mail service??? Thanks
How can I do it? .click();
want that it make mouseup in this element. How can I do it, because if I write...How can I do it? .click();  I have a very unusual problem. I want to make a script like this: <script> x = document.getElementById
How to make session control using only JSP programming language
How to make session control using only JSP programming language  Could i do Controlling session using only JSP programming language without using anylanguage
 

 

 

DMCA.com