[Catalyst] Session timeout and re-Authentication from a Frame

Matt S Trout dbix-class at trout.me.uk
Tue May 15 11:59:49 GMT 2007


On Tue, May 15, 2007 at 08:06:01PM +1000, Steve H wrote:
> >window.parent.location =
> 
> Given the response already has it's target window, the Login screen will 
> just get rendered there.  I was thinking of a solution that maybe writes an 
> intermediary response page that onLoad() sets the location and target to 
> _TOP then calls the real Login page.

That's what I was suggesting. Except my way is simpler.

> In asking the mailing list, I was wondering whether anyone else has already 
> covered that ground rather all of us busting out new stuff.

One line of javascript is hardly worth it.

> The use of Frames in this situation seemed to have merit.  Its a Shopping 
> Cart component... that has a JavaScript-driven expandable menu with quite a 
> few hundred possible nodes.  I wanted to avoid the latency dealing with the 
> menu every time the consumer expanded/collapsed a node... or viewed the 
> asssociated products.  Still, any other thoughts on that sort of thing 
> would also be welcome.

JS partials via dojo.io.bind ?
 
> As an evolution to the Authentication mechanism, I was wondering whether 
> anyone had tackled the below.

Yes. Catalyst::Plugin::Continuation.

^^ ABOVE LINE DUPLICATED FROM LAST REPLY. PLEASE READ IT THIS TIME.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/             http://www.shadowcatsystems.co.uk/ 



More information about the Catalyst mailing list