Hello, Still working on Ajax and making good progress, sorry to bother you again ..a small problem gives me the opportunity to bother you with my silly questions.
I have included (as many people I guess) a control in the app_controller to check if my user session is still ok (checking if I can read a variable user_id in the Session object). I have "Ajaxify" the application in sort that my first screen is rendered using the default layout, then into the application a lot of views are rendered using ajax calls (either links ..etc..). Following Nate advises, I have manage to learn erndering multiple views and so on, perfect ..However problem in case the Session is over (about 20 minutes), indeed after leaving my screen to watch a football game (I am French, nobody is perfect..), I came back and clicked on one of the links. In my app_controler I redirect to the Login action, but this login action actually the first one to start uses the default layout and can't used to answer to the Ajax Call (especially the div etc ..) So my question is simple (I promise, I did search here, crazy the number of people having the problem opposit to mine), how can I redirect or do something (even a dummy view using a RequestAction, I did try this one..) in order to simply show my first login view as if I was coming for first time ? Maybe I am completly wrong again ? Thanks a lot --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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/cake-php -~----------~----~----~----~------~----~------~--~---
