I am using scribd java script API to view a pdf file in my website.
I have uploaded one pdf file and made the pdf document private.
I want it to be viewed via script in my code.
I cant call a private document without autentication – so it does not allow me to view.
So i need to give something like this
scribd_doc.addParam("use_ssl", true);
scribd_doc.grantAccess('username','sessionid','password');
I do not understand what is session id here .
how should i get it.. pls explain how to given authentication as above using username and password
pls refer
Session IDis a string unique to the user’s browser. This would ordinarily be the session ID you store in the user’s cookie, or a derivative thereof. What’s important is that if the same user logs in from a different computer, this ID must change.For more details:http://www.scribd.com/publisher/ipaper_secure