Re: Logout Problem

2005-11-15 Thread Srinivas Jadcharla
ennis > > > > > Srinivas Jadcharla <[EMAIL PROTECTED]> > 11/15/2005 10:00 AM > Please respond to > "Struts Users Mailing List" > > > To > user@struts.apache.org > cc > > Subject > Logout Problem > > > > > > >

Re: Logout Problem

2005-11-15 Thread Srinivas Jadcharla
s Jadcharla <[EMAIL PROTECTED]> > 11/15/2005 10:00 AM > Please respond to > "Struts Users Mailing List" > > > To > user@struts.apache.org > cc > > Subject > Logout Problem > > > > > > > Hi There, > I have a proble

Re: Logout Problem

2005-11-15 Thread DGraham
.org cc Subject Logout Problem Hi There, I have a problem logging out my Struts Based Web Application.Here iam giving the code in Logout Action.. request.getSession().removeAttribute("ssn"); request.getSession().removeAttribute("pin"); request.getSession().removeAttribu

Logout Problem

2005-11-15 Thread Srinivas Jadcharla
Hi There, I have a problem logging out my Struts Based Web Application.Here iam giving the code in Logout Action.. request.getSession().removeAttribute("ssn"); request.getSession().removeAttribute("pin"); request.getSession().removeAttribute("parentrole"); request.getSession().invalidate(); resp

Re: logout problem

2005-09-05 Thread Tremal Naik
2005/9/5, Adam Hardy <[EMAIL PROTECTED]>: > Fourthly I think the work involved in making something track all > sessions like this and then inactivate any that stop would be > considerable. At least I can't think of a suitable algorithm off the top > of my head. I had the same problem: avoiding dup

Re: logout problem

2005-09-05 Thread Adam Hardy
Leon Rosenberg on 31/08/05 13:17, wrote: On Wed, 2005-08-31 at 12:46 +0100, Adam Hardy wrote Emmanouil Batsis on 31/08/05 12:37, wrote Sławek Tuleja wrote: question: but how to evoke Logoff action when user closes browser? In general you dont :-) You just wait for the session to expire usin

Re: logout problem

2005-08-31 Thread glenn . deschenes
such as logging off the machine... or just pressing the power button. - Glenn Leon Rosenberg <[EMAIL PROTECTED]> 31/08/2005 08:17 AM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: logout problem On Wed, 2005-08-31 at 12

Re: logout problem

2005-08-31 Thread Leon Rosenberg
On Wed, 2005-08-31 at 12:46 +0100, Adam Hardy wrote: > Emmanouil Batsis on 31/08/05 12:37, wrote: > > Sławek Tuleja wrote: > >> question: but how to evoke Logoff action when user closes browser? > > > > In general you dont :-) You just wait for the session to expire using > > a session event liste

Re: logout problem

2005-08-31 Thread Adam Hardy
Emmanouil Batsis on 31/08/05 12:37, wrote: Sławek Tuleja wrote: question: but how to evoke Logoff action when user closes browser? In general you dont :-) You just wait for the session to expire using a session event listener. However, if the client supports javascript, you can catch the onclo

Re: logout problem

2005-08-31 Thread Emmanouil Batsis
Sławek Tuleja wrote: question: but how to evoke Logoff action when user closes browser? In general you dont :-) You just wait for the session to expire using a session event listener. However, if the client supports javascript, you can catch the onclose event and perhaps submit an XMLHTT

logout problem

2005-08-31 Thread Sławek Tuleja
when one user is logged in to application - other users can not login when user push the logoff button application envoke Logoff action and do: - session.invalidate(); - LogoffJDBC.logout(); where: logout() { ... stmt.execute("UPDATE database_name SET logout='yes');