{"login":{"result":"Success","lguserid":10,"lgusername":"Test","lgtoken":"8cbe78566c9ac67b41ea82bf54fc169e","cookieprefix":"vanisource_vanisource_","sessionid":"dbc0d6ca3c7882f7058784cbf9c29b7d"}}
A successful action=login request will set cookies needed to be considered logged in. Many frameworks will handle these cookies automatically (such as the cookiejar in cURL). If so, by all means take advantage of this. If not, the most reliable method is to parse them from the HTTP response's Set-Cookie headers.
Does jquery have a way of handling cookies? What does the above mean in regards to jquery? I am not sure if this has something to do with my problem, but i am not sure, what it means?
Thanks in advance
Arnab