hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raja Pandian <r.rajapand...@verchaska.com>
Subject Re: handling request containing encrypted data
Date Wed, 25 Jan 2006 15:54:50 GMT
Roland Weber wrote:

>Hello Raja,
>
>  
>
>>i am  requesting for a page in which some values are in encrypted
>>format.My problem is, i am not able to get the expected page.
>>    
>>
>
>  
>
>>NameValuePair("__VIEWSTATE","dDwtNDkwNjAwNTk5O3Q8O2w8aTwxPjs+O2w8dDw7bDxpPDA+Oz47bDx0PDtsPGk8MD47aTwxPjs+O2w8dDxwPDtwPGw8b25jbGljazs+O2w8cmV0dXJuIHZhbGlkYXRlX1NlYXJjaCgpOz4+Pjs7Pjt0PHA8O3A8bDxvbmNsaWNrOz47bDxyZXR1cm4gdmFsaWRhdGVfU2VhcmNoKCk7Pj4+Ozs+Oz4+Oz4+Oz4+Oz6HiSR9PojZnZjRVcYaX3gBM6JzHA==");
>>    
>>
>
>Such values are sent by the server in a page with the form.
>You can not hard-code the value into your program, because
>it changes. You have to get the page from the server, search
>for the value in that page, then send a new request including
>that value to get the page you actually want.
>In case this sounds too confusing, here is what I mean:
>
>Client               Server
>------               ------
>GET ...    ==>
>           <==    page with encrypted value (w/enc)
>[scan returned page
> for encrypted value]
>POST w/enc ==>
>           <==    redirect to page you want
>GET ...    ==>
>           <==    page you want
>
>The "redirect" response is optional, if you're lucky the
>server sends the page you want directly in response to the
>POST request with the encrypted value you got in response
>to the initial GET request.
>
>hope that helps,
>  Roland
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>
>
>  
>
Dear Roland
I tried it, but i am not able to get the expected page.Is there any 
other way or suggestions to make it work.
thanks
rajapandian

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message