On Fri, 21 Jan 2005 08:59:59 -0500, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Sorry about posting code to the list if that is poor etiquette.  I didn't
> know of that one.  What's the reason for it?  My code wasn't too lengthy
> and the email can easily be deleted by those that don't care.  I just
> thought some other newbies (not unlike myself) might find it useful or
> thought provoking.  Again, if this is against the rules of the list, I am
> sorry.

Don't worry about it.  It's not really, as far as I know anyway.  Some
people are just cranky.  Putting hte code where it can be searched by
folks is a good thing.

> 
> 
> Eddie Bush <[EMAIL PROTECTED]>
> 01/20/2005 11:59 PM
> Please respond to "Struts Users Mailing List"
> 
>  
>         To:     Struts Users Mailing List <user@struts.apache.org>, Dakota 
> Jack
> <[EMAIL PROTECTED]>
>         cc:
>         Subject:        Re: Session Strategy (here's a filter)
> 
> ... it is a filter ... notice how it says "implements Filter".  The
> mapping in web.xml is a dead giveaway too.
> 
> I'd love to know how it detects session timeouts though.  Far as I can
> tell it will tell people who have yet to have a session created that
> they've timed out.  ... first trip around the block they shouldn't see
> that message.  The only way I can think of detecting timeout, as I
> mentioned in an earlier post sometime back, is to put a marker of some
> kind out (a session cookie) when a person logs in.  You could then
> tell, by absence of a session and presence of the marker, that the
> session timed out.
> 
> ... I'd love to see a simpler approach (not that what I suggest is
> complex).  I don't personally believe you can do it with fewer things
> than I've mentioned here.
> 
> ... and please *don't* post code!  It's very poor etiquette.  If
> someone solicits something from you, send it to them and them alone -
> not the list (unless explicitly asked to do so, and then limit what
> you post to only relevant pieces of files).
> 
> On Thu, 20 Jan 2005 20:43:32 -0800, Dakota Jack <[EMAIL PROTECTED]>
> wrote:
> > I was interested, again, in a filter.
> >
> > Jack
> >
> > On Thu, 20 Jan 2005 14:41:32 -0500, [EMAIL PROTECTED]
> > <[EMAIL PROTECTED]> wrote:
> > > Dakota Jack wrote:
> > > I was looking for a filter that detected sessions that had expired and
> > > rerouted the request to a login or other appropriate page.
> > >
> > > --------------------------------------------
> > >
> > > That's what this does, specifically the following section of code:
> > >
> > > Dakota Jack <[EMAIL PROTECTED]>
> > > 01/20/2005 11:07 AM
> > >
> > > I was looking for a filter that detected sessions that had expired and
> > > rerouted the request to a login or other appropriate page.
> > >
> > > Jack
> > >
> 
> --
> Eddie Bush
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to