asp.net - Spoofing IsPostBack -
i'm using htmlagilitypack part of automated process extract content existing internal web pages. problem need able make think ispostback true.
this flow:
make initial call page , extract html.
parse html extract __eventvalidation, __viewstate, __eventtarget etc... , append them next post same page.
append specific criteria post simulate user input (date range selection instance).
post same page , retrieve html response.
it works in testing, 2 of criteria set based on submission. 2 more overridden inside ispostback check. far have not been able see ispostback being true on second request.
does know asp.net looks @ set ispostback?
for spoofing need simple page want spoof page
for simple page want need download software copy offline browser software html,css,js.
than can use
Comments
Post a Comment