Results 1 to 2 of 2
  1.    #1  
    I have Palm Pre2 with webOS 2.1.

    I'm using this script to invoke download but on server side i have not set cookie "id" and I have not session

    Code:
    	this.controller.serviceRequest('palm://com.palm.downloadmanager/', {
    		method: 'download',
    		parameters: {
    			'target': url,
    			'mime': "application/octet-stream",
    			'targetDir' : "/media/internal/downloads/",
    			'cookieHeader': "id="+sessionId,
    			'targetFilename' : item.filename,
    			'keepFilenameOnRedirect': false,
    			'subscribe': true
    		},
    		onSuccess: this.downloadSuccess.bind(this),
    		onFailure: this.downloadFailure.bind(this)
    	});
    Where I can get request log, if there's cookie sended?

    Thanks.


    [UPDATE]

    Very strange is that on emulator it's working. Only on my Pre2 not
    Last edited by panel; 09/22/2011 at 08:53 AM.
    If you like my applications (SynoMusic, SynoDM, SynoFM) and want to donate for future upgrades and development
  2.    #2  
    There's bug or some manual mistake, you cannot pass additional header information for downloadmanager service til webOS 3.x

    What a shame I don't know why there's so big difference in upload and download process parameters.

    https://developer.palm.com/distribut...?f=110&t=18383
    If you like my applications (SynoMusic, SynoDM, SynoFM) and want to donate for future upgrades and development

Posting Permissions