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

Matt S Trout dbix-class at trout.me.uk
Tue May 15 09:03:28 GMT 2007


On Tue, May 15, 2007 at 12:52:25PM +1000, Steve H wrote:
> Hi
> 
> A couple of Login/authentication questions:
> 
> As expected, when using frames, when a session times out and displays the 
> Login page, it does so in the frame that is the target for that request.
> Is there any easy trick to be able to get that Login screen to use '_top' 
> as the target? perhaps an intermediary Login response page that can set the 
> target then request the proper Login page... although I'd have to play 
> around to make such a thing work, and was wondering is anyone else already 
> had a solution/code I could leverage?

window.parent.location =

maybe? I stopped using frames a long time ago :)

> On a further note, with re-authentication after session timeout, it'd be 
> good to be able to 'park' the original request while the re-authentication 
> occurs, then continue to process it. Assume in this context that all state 
> would be persisted against the User (as opposed to the session-id).  
> ...maybe a response that then pops a temporary window to re-authenticate in 
> - thus helping to preserve the underlying targets for the parked then 
> subsequently executed request.  Any ideas or code that can be leveraged?

Catalyst::Plugin::Continuation

-- 
      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