Hi,<br><br>I am trying to write a python script that I can run to prevent a timeout of webpage. I have to use a system at work that keeps track of issues. I use this a couple of time an hour and it times out after 10 minutes. The system is really crummy and it rejects your username and password about 30-40 times before it takes it. It is supposed to integrate with Active Directory and I don't think it does it very well.<br>
<br>So I have this open in Internet Explorer (its all in <a href="http://asp.net" target="_blank">asp.net</a> so it does not work in any other browser). I was hoping to have something simple like: <br><br><div id=":29s" class="ArwC7c ckChnd">
<p>#c:\Python25\python</p>
<p>import urllib<br>import urllib2<br>import time</p>
<p>while True:<br> result = urllib.urlopen("<a href="http://sdeprod.brunswick.com/SDE/blank.aspx" target="_blank">the_URL</a>")<br> print "Retrieved Page"<br> time.sleep(300) <br></p>
</div>But this is not working.... The code on the page uses a hidden iFrame that has a javascript file that monitors the time and intiates the timeout. The src of the hidden iFrame is what I keep trying to grab.<br><br>
It is still timing out in IE. Once it times out in IE I get an error in my script saying:<br><br>IOError: [Errno socket error] (10060, 'Operation timed out')<br><br>The system is terrible but I am stuck with it. If it doesn't kick me out, at least its bearable...<br>
<br>Thanks for any help you can provide.<br><br>Kevin<br>