Im trying to login into Share without having to specify user&password (i have both from a previous login). Ive tried the ticket method but it doesnt work:
So far as I am aware it doesn't work that way. You call the login form with a UID & PWD, that gives you a ticket and you then append the ticket to your URL as a parameter to execute Alfresco API "functions" as you require with the authority of the UID/PWD that you logged in with. You don't "login" with a ticket. Also tickets have a defined life (this is a parameter) and will timeout (I think the default is 30 minutes).
I tried forcing a form submit and it works; you can even set the landing page (<input name="success" value="URL" type="hidden">). I guess i just wanted to do something "more professional" that matched better in my development.
I am not sure that this approach will work for successful login or not but this approach gives you the ability to access the contents present in the repository and hence you can present them for display or download to any UI. No password prompt will appear this way.