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,