AnsweredAssumed Answered

problem accessing content after logging using webservices

Question asked by lalli on Dec 18, 2006
Latest reply on Jun 19, 2007 by alcazar
I am using Alfresco V1.4 and working with webservice api.

From Alfresco Web Client, I created a user "lalli" and same password using admin rights. 
Now in my application I try to access a node after starting the session as below :

AuthenticationUtils.startSession("lalli", "lalli");

I am successfully logged in and when I try to access any node (eg :http://127.0.0.1:8080/alfresco/download/direct/workspace/SpacesStore/36136779-8421-11db-a9f8-cb5a7c360dcd/jprofilerPDF – this user has access to read this file), It is again promting me to login.

I am not sure why its asking for logging even after logging thru my application ?  Even when i log in thru admin
AuthenticationUtils.startSession("lalli", "lalli");, accessing that node is asking me for a login.

In my servlet (in tomcat), i am using
response.sendRedirect(URL) to open my document in new window.  Here URL http://127.0.0.1:8080/alfresco/download/direct/workspace/SpacesStore/36136779-8421-11db-a9f8-cb5a7c360dcd/jprofilerPDF


Is there any problem doing response.sendRedirect()?

Need this info urgently.

thanx in advance.

Outcomes