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
>
>
>
>
>
>
>
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
.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
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
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
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
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
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
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
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
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');
11 matches
Mail list logo