My website uses asual address plugin for implementing hash based URLs.
I want to implement follwoing feature which facebook and twitter have successfully implemented.
Say I am not logged into twitter and click on the below link
http://twitter.com/#favorites
It will take me to login page(note the /favorites in querystring) http://twitter.com/login?redirect_after_login=/favorites
and after I login it will now load the page
How to implement this?
Since the URL segment following the hash is not sent to the server. So how they are able to get it in the redirected login URL
http://twitter.com/login?redirect_after_login=/favorites