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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]