cancel
Showing results for 
Search instead for 
Did you mean: 

Problem to authenticate when loading images.. FLEX AS3

ramos69
Champ in-the-making
Champ in-the-making
hi, I'm having a problem when i tried to load images from alfresco to my Flex AS3 component.
I've already authenticate and have my ticket. Width that ticket i have a webscript that return an array with all the path of my images…
When I trie to load them by path, I could get them because i'm not authenticated. When I authenticate by hand into alfresco and use the same browser before closing I am able to get the images.
I've tried to send the ticket in the url.. But I not sure that is being send in the right way..
like this…

http://10.0.20.5:8080/alfresco/d/d/workspace/SpacesStore/f942919f-6a4f-4e4d-bd1f-1a8e7c7b1019/images...

Is it a better way?

Can someone give me a hand?
Thank you
1 REPLY 1

ramos69
Champ in-the-making
Champ in-the-making
Ok.. The problem was really easy to solved, actually but took me a while because all documentation from alfresco that I've seen all used ?alf_ticket to send the ticket in the url….

And it was not…

Just by changing ?alf_ticket= to ?ticket= and my problem was solved…

so
http://10.0.20.5:8080/alfresco/d/d/workspace/SpacesStore/f942919f-6a4f-4e4d-bd1f-1a8e7c7b1019/images...

was changed to
http://10.0.20.5:8080/alfresco/d/d/workspace/SpacesStore/f942919f-6a4f-4e4d-bd1f-1a8e7c7b1019/images...


It seem easy.. I just posted the solution so that you, or someone who have the same problem don't lose time as I did..