This week's book giveaway is in the HTML, CSS and JavaScript forum.
We're giving away four copies of hapi.js in Action and have Matt Harrison on-line!
See this thread for details.
Win a copy of hapi.js in Action this week in the HTML, CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to login to a server that uses form based authentication

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
I've developed an app that posts XML over HTTP to my server. So far so good.... Now in REAL world the server requires a login (its a Tomcat5) and is configured for form based authentication. In theory I need to post the username/password in the j_ fields and get a cookie with a session in return. In practise: waht exactly do I need to do to create the login post and how to get the resulting session into my xml-post? Help greatly appreciated!
:-) stw
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!