hallo everybody,

my problem is the following:
on one of our rails-apps we implemented session-expiry, so that the
user gets redirected to our login-page whenever his session has timed-
out. this is working fine for normal http-requests. however, for AJAX-
calls that only update a certain div of the page it is not! the
redirection works, but (as one would expect) only that specified div
gets updated, so our login page gets rendered inside the div.

i'm looking for a solution that reloads the whole page and shows the
login-screen without having to include an on-failure-section in all of
our AJAX-calls (because there are many of them). surely there must be
approaches on that subject already. but it's hard to google without
some keywords to look for.

thanks
MaD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to