Yeah, we are switching to an interface.  It started as a quick and dirty
thing and is growing out of hand (ie.  Becoming a full blown component of
many of our websites).  I will try Solex, but we think the problem is in the
browser caching (we added extra code to the beginResponse that added the "No
Cache" header data in hopes of stopping that, but with only limited
success).

----- Original Message -----
From: "Howard M. Lewis Ship" <[EMAIL PROTECTED]>
To: "Adam Greene" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, August 01, 2002 11:55 PM
Subject: Re: [Tapestry-developer] Problems with Browsers and Page
Redirection


> Gotta tell ya, that's some wierd code.  Why can't you downcast the Visit
to
> a known type and simply invoke the method?  Why use reflection like that?
> If you are trying for something generic, have your Visit implement an
> interface and simply downcast to the interface.
>
> I notice you're not clearing the isLoggedIn variable in your detach()
> method, but I guess that's ok.
>
> I've been having a lot of luck lately using Solex (a plugin for  Eclipse)
> that allows me to see exactly what is passing between client and server.
> There are similar tools that aren't plugins for Eclipse.  It really helps
> when you are trying to pin down whether there's a fault in the server or
the
> client.  You may also want to use the Inspector to activate some
additional
> logging.
>
> ----- Original Message -----
> From: "Adam Greene" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 01, 2002 2:08 PM
> Subject: [Tapestry-developer] Problems with Browsers and Page Redirection
>
>
> > We are noticing a problem with the following scenario:
> >
> > We have modified the pages of our website to use SecurePage (we created
> it).
> > It is attached.
> >
> > The problem we are seeing is that when they get thrown to the login page
> > because the session timed out and after logging back in and returning to
> the
> > page that they were on when they lost the session and had to re-login
in,
> > they are seeing the login page, not the proper page (sort of like a
ghost
> > image).  They then have to refresh to see the proper page.
> >
> > Step by Step:
> >
> > 1. They come to our site and login.
> > 2. They go to a page (say "Client Stats").
> > 3. They go away and come back and try to do something.  They get thrown
> back
> > to the login screen.
> > 4. They re-login and go back to the Client Stats page, but what they see
> is
> > not the client stats page.  They see the login screen.
> > 5. If they refresh they see the Client Stats page.
> > On top of this we are seeing the browsers (IE 6.0 especially) not
> displaying
> > the right page title after an exception and a refresh.  (It keeps
> Exception
> > as the title).
> >
> > Anyone else seeing this??
> >
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Tapestry-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to