On Lunes, 14 de Febrero de 2011 07:35:47 Michael Latta escribió: > I am using devise for authentication and AS for many of the screens. The > client wants sessions to time out after 10 minutes so public machines do > not have data left on them. Is there a good way to prefix the AJAX calls > by AS with some security check for the session timeouts? I would like to > present the login as a popup and let the ajax call continue. I have tried > to enable devise use of basic authentication on ajax, and the browser > login is presented if the session times out, but the login keeps being > presented. The later is probably a devise issue, but if I could prevent > the ajax call from needing a new authentication that would be one way to > resolve it.
It will depend of your security methods. AS doesn't require authentication, it's your custom code which requires it. You will have to change your code to allow ajax requests continue -- Sergio Cambra .:: entreCables S.L. ::. Mariana Pineda 23, 50.018 Zaragoza T) 902 021 404 F) 976 52 98 07 E) [email protected] -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en.
