Programming 12

Put your programming skills to the test in these challenges.

Programming 12

Post by davidmogar on Tue Mar 08, 2011 4:21 pm
([msg=54815]see Programming 12[/msg])

Hello,

I'm trying to solve programming mission 12 but I'm having problems with the cookies. I'm using Java as I did in mission 11, but this time every time that I try to send the solution HTS returns me a new string.

What I'm doing wrong? What the code that worked to solve the previous mission now doesn't work? This is annoying.

I don't pretend to get code, only a little help. I already have the function to resolve de mission, so I don't need help with this, only with the cookies.

Thanks a lot in advance.

Edited by Defience
davidmogar
New User
New User
 
Posts: 2
Joined: Tue Mar 08, 2011 3:55 pm
Blog: View Blog (0)


Re: Programming 12

Post by Defience on Tue Mar 08, 2011 9:04 pm
([msg=54823]see Re: Programming 12[/msg])

There's another variable that needs passed when posting to #12.
User avatar
Defience
Addict
Addict
 
Posts: 1265
Joined: Thu Jun 12, 2008 3:16 pm
Blog: View Blog (0)


Re: Programming 12

Post by davidmogar on Wed Mar 09, 2011 6:58 pm
([msg=54866]see Re: Programming 12[/msg])

I tryed with this:
Code: Select all
String data = URLEncoder.encode("solution", "UTF-8") + "=" + URLEncoder.encode(value, "UTF-8");
data += "&" + URLEncoder.encode("submitbutton", "UTF-8") + "=" + URLEncoder.encode("", "UTF-8");

But I get the same result.
davidmogar
New User
New User
 
Posts: 2
Joined: Tue Mar 08, 2011 3:55 pm
Blog: View Blog (0)



Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests