asp.net - How to send a post login request to another website in HTML -


i'm trying create simple html form can put on website people can log on , redirected clients website. on site have them enter username , password , have submit button redirects , sends post request clients website. on client side have accept login request url using set or api parameters. i'll have access client server set allow remote logins , post requests. i'm not trying authenticate on site, rather pass along information (username , password) clients website handles authentication procedure. know can done in php using curl, can adapted html?

i'm using site template: http://help.wildapricot.com/display/doc/adding+wild+apricot+login+boxes+to+another+site

here form created far, wont pass on information to

      <body>      <form action="https://millersconnect.com/thm47login.aspx" method="post">             <input type="hidden" name="returnurl" value="">             <input type="hidden" name="browserdata" id="idloginboxbrowserfield">             <input type="hidden" name="__eventvalidation" id="__eventvalidation" value="/wewgql+radpaglguzkfaglr++n9dwkuzpx1dak2i8lfbglclqxzaqkl6l+jagldomy0dqklqqu2baltn7ttdwkpluwqaqlwqnhsdakdlmozbwkritimagksgakzcqls29oqbqkioqhfcqkshq9rav6r7bcjaqzlmpaoat+x8l8earhvuayeavmz94epaokc7f8iapf20owd/gwp9scgtuhi2wdxb1yrmcosii4=" />             <input type="hidden" name="__compressedviewstate" id="__compressedviewstate" value="h4siaaaaaaaeao29b2acszylji9tynt/svvk1+b0oqiaybmk2jbaeozbim3mkuwdaucjkasqgcplvmvdzhzazo2dvpfee++999577733ujudtif33/8/xgzkawz2zkrayz4hgkrihz9+fb8/iv7vx/m3/e1+zv/3f07bcmfndzvj6va7xewib092f7cp/ff6vvhk9fwzql78zjff/ayxs9/01012d/d3du7dp9i/95vofptf65z++xv+rv8tv/5av9zv+tv8wr/g13mtv2t/3x/i13nctoti1aznpf3so3nbrpphd+8uirlm62zalzf5tb1pq8xdxaszlkw+bbd5o69mzfinm4/s9nqvf/zrs5du/nr2mqmoj44e35xfjn7j5hfzln+m8zo/3wi9neelvjef+w/utpvmbtnel/nv384x+w/g9pdhaz2xn33enzbzpg+d3rnbip8vgtwz1nm+/ci9+0hd/9x1nc9wzdbmh9d3lae007m81dwt8txy4rx49/u3rzlplm410bnf69cm1kqfwc6zy/drr0f//qa/za/3c36ds0v2kx9vl7/ur2+k0zfaayevmrutdrknth7/9orif/ygl6umfzjn3+kf3xzc/jrvs6jsno6zzvxuf/z6p1k0xatm5zn0+/itxyp5nx+n3/s3+xv+ww/4+/+ut7m2e1ktl7ml/hvgtdyhv9pzg5x7rzd7xx6n/bf8bidnc1jmtfpr/ibnetjwbvzux2blov8fv87v/7u+fvjr/vruza/7m/6ms9/0n/ttfu3zx+vx/lv+rd/m1yb5+u1eznvgspdxp4m2v+6vtb372/xav8tv8ov+2l+cpccvv9avsa3pf61fl17+tx5tcnxv+ck7lc5oyjgqo5iwovkhxiuri2ljo+ux0vu/y689fzzkvx3ab/c7/bqz3+xx+3v/i+dod4l+uhldnltl7hf59x8tanhb7/x6+g7h8k1x+s9af3x+nc+ly7y+pp7n6rxpjlt+/8n1iqhwui3buip/3v/ntb3oz7/wb0bv/zq/c+medrfoxbgi1baoapp3u/zyr/ub8wi+xs3yr15/ycbwy+agep43ucx0azlcxyoxcf3a3me/3q/7wy6yyrnd5fk9nw+d6sbvo4yhrvbj1fl3yq+fvlflx/ep/twl8638klts+g1+fvln8s8+2713j/3fqxw4zzbtvhyynhcrfnbsya7tl3u1w0/b1wz5rh+uxftt1seswn//oiho2n//j9buqd5hclfvpr5zeeis2a7rzxqelu1++eswnyterztlrvotggfknyfrisdm+81ms9/m15j9wr8+zuu3cpto1m1blvvsdmq92ccrv+dxr5ztopzrfuebg43s/teier7/0rtxee3jiflm9iyj/82/s5xdkxv6a6xpt/bfudjf/4lf2lzkc/s7cs7psrpkz6s6rygv092dndhozk66kge0v+dxp11mni2zi9mv9esaz1/j1/3zfv3hwvrmpvv4c+rfjgcbxfmcno/hono/hhazkwkkyl7tyvy0phsvl5hdf4+nu5+9of3i5fpjn6e/kljtqqpn7onm+tmtl37hefhz7i88r+mfvfpzzi/mlj/b+tjlyf/s42w1vbqn9tfpyiw0stpjzba8wbm9p/vy6dgprb1+3fgvh9ol5+vltc2q5qbobwuwz54s5//gywvwp/pj+lk6q6brbwsbzv60zphrk+uzmffoyaqpvnooid+19la2grmyppynexi37/vf9bp044/tx/gl/xfw2w3m82pcnejk/tguc5qjab718s/8ejr+nbj3/sbjtw3v/r7nj3cvbpnwje93bzpi0cf2v4o8mwar3btr2ilh9do83tu9gwmoptwwbwom252rdv2+uya8jq72gczutq5ben+5ersmpof3mbdolhwjbljufwaawi9jf4nndysst37s1707lik/ckqizcuvqd/6+qenrfgn9dunrnjxnu2nsowt89jvjmqvdcm/9a/8mur/qth+vm5mvz+nbf0q8chlyvj2pz77alqum6p+tkqkjsmkw488by3e6ymodbxfp6iyprcq48vz82kab79er1bkkde/kjrnf1v9/dkjsf7o3r1hzfhrkbybmnehnr7pikt/cosbybq0gnv51bmedq1zzusmul8bg31br7ysvl+twdgnjngdwrxhjmd16wb4do+gmd/7dhtj2d8+ipjhwo/koo6wxc/zoj9klfeeibrnijtt62jktuhtb36wd5ub207sx5gtvitjrq//9xgkwjkcntv4wswv3omw+7diaovvkkhd/l+pdhweva2ranf7atw/olgvaqzk/9en+sqr8+uso8l/sd7lelzwkv6pliqsx9yx2bl4af15ix127t+/dr1sb6pudgeywvsaul7/30ojur6gxjxkzs14yvftndvrqqcmdpx/pwnt5tvfzpyzsnfc3djuvz3d2w21macg6p9rrgrilo1v8mw6x/w+j5dniv++qbrtupb3iwxup7gdbuxnqenm8l3pm7v9/r+gqhv23jbbr3lkprhtup0k1nlmn5nm5+dhrujd3rhyun5s9gzco//3eiwcy+aqpgvwnx57ml8sdw4mx+4touu6mpsw/ataz/9bcpe0b95uh08ji/kz4ut9t6rfurc0/vexg3u3sp/olpu6m9sxff6/0gqcli/zslorzqg43t1+ps9wq/fzr+7dijy2q1gqfrkcms7/x+d3pcm0t1+3vu3perkrk2kz30kl7d28lb8j4jyc0kdq+vh/fqgeus6xxa6qbpecsxshzmw2wtxmkp39/vutrlsj50v76xijisxu9v89vkqbdvu4mg1/o8/kdn570fn0ws1zhtpiqqndcunn/33yqst/bisppfi2z1mnvmrpkv0hetzex9ndu1x0yt2n0qa/z6k12w0uy12kmx4ouxmf5xrbiiqrwnim42ykfxrvnhtshljn7ng9/l+fzc5mlhkrcdtx3p5kterw8/d39h/czvgh8fsa/79m5jruelf9tlgsoo5uhplo/vvnoennddrvckwfnnbn2sqvybdokd16q8heu5ubkmcdfrdo/28z9bfvusm3x2yzcjvrgizeq7y5jfuwe6uihkgngg79thsscif/byhbs1qhqckyo/w2ew5f5lmiu5eco/du5s0wcjuzmx2k3mf/awhai9ukg1j/6jfbr6fzflzgloe8qkye3cwsu/dvlazxo7urvvnhsj2m0un/wyje4fr7ml6db7fidg7m/19o8f5n53lltjdt4k/rxt843hspbqx3baydbyx+/5pbm6askr8ytdcoe+/erxk1nnq0mqif//+egdf5jkon92hxewe3kncl3iz+/43s3hjqspz04/zx0d7+rey/ahf2n37+vy4miqxwnfh5uv6sdr557lu3hjvdtqzqwp+/zdhvsotm+w0cstu4plclgwhtdfdb/79nucsk4gy0aculjdoezu2l0ovmoe/s30ruax+u2g4mfww//6+hq1xdir7f37uvi8va/t8ymvkuoad+utu1vyjg9dbqjptzbcarxzjjdt0nkzvoydydfzdr4iyibeqglg3a6zl/7cnydmhcpfpv5c/n9ahs5aovtzc3+xs+rkjbdwfmo7vdy/3oyl3gy6ir+ig36wlw/+jnnd1zvj4v1fzpfs2acjsnv2hdraintmvih8a/a1ydn9hh4ypujjvoutvj/4sn+pns+nznpvyana8l++j7t5vpshsrogjyvmga8tp0//emveumkdt7aumv1jrwkgmdmcgkbyr+n5fa4zvru27+x+fvngtldf1mljhfppn3ne+3eeqetp/3dhbbmdogvn0wyc5hppihme8bzx/tmlmduep6+h+x1j+uoa1ckvntbhsp8omohqw3uebh/r9v+bxarnykitumoxpxq4pdo7gdiyvm1md8f91gv01zoaus7q1ddgq1pxxabzlwa///zvxuapf75dctzpjtf0fe3syq3p/0vubnusfcthkl6ud/den/xz23mkunun47w25hbmd+v2wwt+lru5tnsepbgfo9ww0b0o2knuo3ayr/l5ly8tkqzthdoo7792+l5zxo/28z4nkiu4dpmosnjzl6swgjsb7nwbwwnvgbigh8/7em/nm2kjzwrbbdb7fi8/1b0cacnyn3h2wown8oa7svqklbi1fp80vsvc12tpzd1uy9+prwrjeouu0gpq7+32jtviapvcgb39s/oljdgaxu/3ugnrt0oujg7d5kvf1/ytx1rd5evfvbzlzhsftwocvow+hqxsocg4/obr38v9ing1ychilcvfu3il7+p7h6/psypnix927naj/uadb6hret3fekwp9vnviam5y3hfro/vtpoox6/+ibu86iwhv5/sx798w6bitzwhjidpux2xrelg/iwt4uewg6mtmvpd6llu8gfaamz/+30mgsjlprf72ul3mcks2rudee5u29atkot/igtj/sb/h92mzn/0sdhmhf60hvuxcri/r/hxxrn3mzr+yvse62/fw2zni5ns/hujb0sj/8v5iizmlvmelcv5xu+h/vqt6bols207pysyym/7rlbo/u3mpwbldthacf/r9x0q9x+ruplygb9/ttsxpv3q1shf4nljd2o/83uuw7wu0t194w+vv7t2imbywekp+cru4+qfpsbv1vi22al+3vzbzmfvnzzzfsd4/woymlrgfxgeer/79y7bdw2f/tzysk29/om5acb68xxaw4j3ehj/92bnrdmapxa6fombhw6wojfn2ouu3xcibx/f9bpoeyar74m+9dkpv3b0uqc/r/lyn9kl002wtq/ab/vneino4wsg0arfh/0ylrjuvft6pdzoejl2+gw/93fskf5jc5cvzvqyv7nsuymqog8v9rhmph9/4zv/ep8qq2j9laiv+3zfmjxwjle4x4797dw2k4hfv/nmhs0gwtihfwtx/rzq4nhg8ykwe3mi19/l9m3lc6sjhqg/cypdl6txq89pcahv5fn3qb4n123ma9vd2443hfz/va0ml6rqucjq2s2f6qzzdn8t402nu9lufdj6nuejh8bzr7fwsbpk1kxhz9nhjgb+r19o370ohgvjkgfvhffnkv6er/lvr4vts0wnrczodvl+38a5g68vzuqwvukaweldw4w//xgb5nvtw7/edj7n1q8at0/y0d/hzwz66yohf9101t3g7y9/zvpqdmvynrhmbm/1+y4thbztzni4f+dql4yffqnlld9fh/oqz/sc2rjq3+29cxru6z36/hftzonjieuu3p/3xuava2eba2hfi1jerwwth0ztmg/y+wkdfzeu4rswz55/a02nm9lziu+nzf1m5+rkbfhf2b6iondfmmajr1+zdczqe3chsfvbm89vl/lrf/n6n1u+1x+trftdmuwrevjxm7u7fsk9xb6vv2g5n4uu8dp1vxnox1nxcgvf9wu67yvvx/2ttwk2z6lo1ihvczpjm2jqulv1hkbikogehv7in7byidumdtt6nphflbphcz9fgglc7+3yiut6rq7trrsbhez/pykkk+twty14zodwqwmk0wvnd/bxl0n18ynnyd/dsm9//nczj5rksix2rg9lkq5ncni977vfncn4wyyfpaspwn6pzj/6ug3qhok7npwmrlohp/iaw7qujvqqasc+ndmxzu6v+nvs/tvhnbbh+3qt82bybf601e2hmgrvbmijbmm3yf9p9bbn2a1ex19vm8qzlf5ky7pprptty8eegmotwq09ai/r9g5m+kmocayd1i+ysb0olurunfnz7n5medrfn3dd010p9flym0qyxhbwvl6afga3s4fzu9b99obbslyf/lwulps5r8r3b7fxknncm8yguzdignjk+/efgknmwwzuwk/f8tq39o7fj6o5rb272vytoq/l8zmuqpzosxev61bcl5s5g5dx/essgd/hcctzuuu/l/czfekgdwsnhzfkn5h42u/m79w5k1b9kmxcd/v2xielgsfta1ev2dz5sg/untxnocto6muwua//+a4snkv50zt/pgvgioip9v9nnezbndwr4c362cmohzs5zx2dbayw+ffctzxp/iymip31yvcspev6umo6upkwr+q2zhhwjwp0vorzu8nsocnfngjkx7dklm0bp6/sz1vgnmf6/8+qqqz58nt+kvpg4pdt9zt/lnn5fvjcvt378/yfa1pzwovv/qykr6d3+q73589lhyxkrnpf3sozfzfje3d/nh/oo7xyjcuozuqbhtx9r5vtzmt8y/vbr4ke2vilk7/+yj+wc0oly4mleffbs391fky16fffq5wtvk90d3jyy9zr/wb/yb/ja/1u/yg/26yytq+znfuxd3/ta/1q/1a/6m+ptxns9mv9zvit//tit4p9r1s7kt19ttwl2ofnnnjwe/za+jr/wav+6v+7y6igaz/vq/nn0sx/5a5/tpb/rr/bra4se+oqlczov8ebx6mfphs5o0kbif/ub84y/9uls6kvdxv2odmgrfc8kitnvtdcpzqo/8vvroj8mtweft6jkvas6rpxntt9hxxje+tliezzu/o765o4hknp1w62v7d5lfbevv5uxfvmjcq//vfk1izoaj+6bwdxgzta+3v1vztk+f/zxrp/44bbp6im8/+3hszsu3h6dhl6v1+pjb82rdl7gxjv6rv+gf+yt+bv8ylxmjbmywdu66bbld57+icsbttzi84tanh8ns1/rndmo/o6lw1zvynf2cu/q4sb88py+mbp0m3ank1jg9lsuugzypjery+jkfjs2bejeghptbhyxnf+vo/7jf83ezrytvm7zqzh+1+bv27k9nl5l8+thrb5xmfyeuyw7zl8txl0v+9sa72proiy9fphisg0wobo+jdr7yf8amz4t4ajr+dpj6l358/lh8/6m+p23//tuvf+s2pf+qqpttgoqkbnnx0z1dmgrggvcy/t8pxrjzexgaaa==" />             <input type="hidden" name="__viewstate" id="__viewstate" value="" />             <label> username: </label>              <input name="ctl00$contentplaceholder1$thm47login1$usernametextbox" type="text" maxlength="80" id="ctl00_contentplaceholder1_thm47login1_usernametextbox" autocomplete="off" style="width:200px;" />             <br></br>             <label> password: </label>             <input name="ctl00$contentplaceholder1$thm47login1$passwordtextbox" type="password" maxlength="128" id="ctl00_contentplaceholder1_thm47login1_passwordtextbox" autocomplete="off" style="width:200px;" />             <br></br>            <!-- <input type="checkbox" name="rememberme" id="idloginboxremembermecheckbox">              <label for="idloginboxremembermecheckbox">remember me</label> -->             <input type="submit" name="ctl00$contentplaceholder1$thm47login1$loginimagebutton" value="login" id="ctl00_contentplaceholder1_thm47login1_loginimagebutton" class="loginbutton" />          </form> </body> 

after simple investigation of "remote page" see try send wrong kind of informations form.

on destination site user name example expected on ctl00$contentplaceholder1$thm47login1$usernametextbox varialble, when using username variable. simpilar , rest post variables, there no way work that.

also on aspx page there viewstate, , event validation variables must send page can valid , accept input. 2 not exist on "simple html" form

so make work, , pass asp.net security messures, need send fields login page expect correct way.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -