You may also want to look at this thread: https://groups.google.com/forum/?fromgroups#!topic/web2py/E5QxVWKxu6A
On Friday, March 30, 2012 6:27:15 AM UTC+8, thstart wrote: > > I need to do a major rework in order to move client-side > functionality to the browser and using Javascript > to get more responsive client side experience with > no refresh etc. > > That means web2py will give a rich server side > functionality and all client work to be performed via JavaScript > and Ajax. I made several tests and see this integration > working just perfect. > > I successfully implemented auth with web2py. > > Now I need to make possible login/logout with just > Javascript and Ajax snd calling web2py auth remotely. > > How to implement it so that I get the same functionality > with sessions, etc? > > Assuming this is working, then how to retain the users' > session state? > > Thanks in advance, > >