Results 1 to 1 of 1
- 09-24-2010, 11:03 AM #1
Member
- Join Date
- Sep 2010
- Posts
- 1
- Rep Power
- 0
POST over URLConnection resulting in 301 Moved Permanently
Hello!
I'm trying to POST to a login form over URLConnection, then get two cookies I need to browse the website after a successful login. The actual POST data is accepted and the server logs me in, however the response instead of html containing cookies is "301 Moved Permanently". I suppose this is a redirect?
How do I follow the redirect, and how do I get the cookies?
Thank you!
Similar Threads
-
Add item to combobox permanently
By efozdel in forum New To JavaReplies: 18Last Post: 07-10-2010, 11:30 PM -
Saving Objects Permanently?
By ethann_91 in forum New To JavaReplies: 1Last Post: 01-20-2010, 08:03 AM -
DOnt know if 1st post if did, I am VERY sorry for duplicate post. I have error messg
By afisher300 in forum New To JavaReplies: 3Last Post: 05-04-2009, 03:15 AM -
Storing data permanently
By shaungoater in forum New To JavaReplies: 2Last Post: 03-10-2008, 04:18 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks