How Can I Autologin Into A Website With Ie?
I use below source code in my script. I worked fine with Crome Browser. but didn't work with Internet Explorer. How can I do? somebody help me please.
Solution 1:
I am pulling the answer out of your question for future visitors.
<!DOCTYPE html>
<head>
</head>
<body>
<script type="text/javascript">
BoardURL="http://WEBSITE.COM";
UserName="abcd";
PassWord="abcd";
document.write('<form name="autoLogin" action="'+BoardURL+'/login/login.asp" method="post"><input type="hidden" name="ID_TEXT" value="'+UserName+'"><input type="hidden" name="PW_TEXT" value="'+PassWord+'">');
document.forms[0].submit();
</script>
</body>
</html>
Post a Comment for "How Can I Autologin Into A Website With Ie?"