[017] Unable to deliver user mail due to a full mailbag.
Message was not delivered to
  DSLAK/DSLAK/MariaP (DSLAK/DSLAK/MariaP)

----------------------------------------------------------------------------
--
Microsoft Mail v3.0 (MAPI 1.0 Transport) IPM.Microsoft Mail.Note
From: patrick j. lynch
To:  [EMAIL PROTECTED]
Subject:  Re: ending a Login session
Date: 1999-07-25 14:24
Priority: 3
Message ID: 45AABBE67641D311958900508B4AB6E9




HI,
Can't give you some immediate help --

I'm stuck in Chapter 6 -- did you figure out how to download the Acme
Package
that is used in the examples...If I give them a file name of
<filename.tar.z>
and use WinZip [got this from Stephen Figgins at O'Reilly] I can download
the
ACME Package, I'm soooo close to getting this....Have you run example 6.1,
or
has anyone else...?

But to the point, I'll start the example on p230 next week, I'll let you
know
my
result or lack of same...

Good luck [to both of us],
Pat

Ps
Anyone else going thru Jason's book? I love the book, but I can't get any of

his
examples using 3rd party software to work...

Andy Bailey wrote:

> > I am trying to get a Login Servlet to work (like the one on p230 & 231
> > of Jason Hunters book) The redirection works fine but after I log in I
> > stay logged in. What can I do to end the session or Log Out?
> >
> > Thanks,
> >
> > Tom K.
> >
> Hi Tom,
>
> All a servlet needs to do to end a session is to call the invalidate
method
> of the session
> object. This means that the next call of req.getSession(true) will produce

a
> new session object.
>
> The tricky bit is in knowing when to do this programmatically though. As
web
> servers are
> stateless there is no concept of being logged in for a fixed session. The
> reason is that
> a client can simply surf off somewhere else just like that.
>
> You are really up against it if you want to force someone to log out
because
> there is no
> way to actually enforce it.
>
> Your only hope of doing what you want is to track all links that you have
> which point to sites
> external to your own and invalidating sessions when those links are used.
> This will have
> the side effect of killing off sessions established in all windows of a
> browser which were opened
> when someone wants to surf out of your site via a link but keep the
session
> going in another window.
>
> I don't wish to sound negative but I don't think you will be able to make
> web server logouts work
> with servlets (or in fact simple html with user authentification either)
> unless you have users who
> will 'obey' the rules about leaving your site.
>
> Andy Bailey
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html


Reply via email to