Hi Experts,
I am working on a website, where we want user to login using Javascript and not using postback. I have few pages which user can view without logging in, but on these pages if he wants to do something like "Add to favourite" or "Report abuse" or similar, he has to log in. I can display a div where he can log in. But I want the system to perform the task he initially tried to do. So say if the user wants to perform "Add to favourite", he should first log in and on success othere function "Add to favourite" should be called. So logic should know where to delegate once user is logged in.
As this loging stuff is required for many other purposes too, so I can hard code one function once log on is successful. I need something like delegation which Login Routine should know so that it calls it back.
Help will be appritiated.
Regards Parminder