cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ove Ewerlid <>
Subject Re: Problem when using Cloudstack Login API
Date Sun, 01 Jun 2014 21:54:08 GMT
On 06/01/2014 10:51 PM, dimas yoga pratama wrote:
> Hi All,
> I'm doing an experiment on using Cloudstack API.
>  From what I read here
> when the
> login succeeds,it will generate cookie JSESSIONID.
> My question is, when I create login page, and succsfull login will redirect
> to another page, do I have to pass JSESSIONID to another page like

Both have to be passed, but they are different things.
E.g., the SESSIONID (a cookie) is not handled like a cloudstack API 
parameter such as the sessionkey (returned by the ACS login API call).

See for instance CloudMonkey;;a=blob;f=cloudmonkey/

for a python example of CloudStack authentication using username and 
password and go from there.


Ove Everlid
System Administrator / Architect / SDN- & Automation- & Linux-hacker
Mobile: +46706668199 (dedicated work mobile)
Country: Sweden, timezone; Middle Europan Time (MET or GMT+1)

View raw message