Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I need a software that would let me know the http command behind a certain button on a webpage so that I can emulate it.
Please help.

To see the "http command" just do a view source and you'll see all of the html code of the page.
If you mean you want to see the code in the server side script that proccesses a form submission, you're out of luck.

Thanks.....
I have this linksys router which has stopped disconnecting after the set idle time...so I was wondering if I would find the http command behind the 'disconnect' button on the routher admin (192.168.1.1) and then write a batch file or something to emulate that. I check the source but couldn't find how to do it..
here's the source
<script language=javascript>
var status1 = "Status";
var status2 = "Disconnected";
if(status1 == "Status") status1 = bmenu.statu;
if(status2 == "Connecting") status2 = hstatrouter2.connecting;
else if(status2 == "Disconnected") status2 = hstatrouter2.disconnected;
else if(status2 == "Connected") status2 = stacontent.conn;
document.write(status2);
document.write(" ");var but_arg = "Connect";
var wan_proto = "pppoe";
var but_type = "";
if(but_arg == "Connect") but_value = stacontent.connect;
else if(but_arg == "Disconnect") but_value = hstatrouter2.disconnect;
but_type = but_arg +"_" + wan_proto;
document.write("<INPUT type=button value='"+but_value+"' onClick=Connect(this.form,'"+but_type+"')>");

"I have this linksys router which has stopped disconnecting after the set idle time"
My first question is why would you want it to disconnect? The first thing I do is to disable the time out. One of the advantages of a boradband connection is that you can/should always be connected.
If the router's disconnect feature has stopped working, a batch file won't help...you'd need to hack into the source code of the router. Your best option is to use reset button on the router to set it back to factory defaults. If that doesn't resolve the disconnect use, the router may be defective and needs to be replaced.

Go to the linksys website and see if there's a firmware upgrade for your router model.
Please let us know if you found someone's advice to be helpful.

Not that I think it will do you much good, but in case anybody else looking for an http command viewer stumbles on this thread, check out the excellent fiddler http debugging tool.
I suppose you could emulate the action the router's config page makes when you click on a button...But the biggest hurdle will probably be the http authentication that most routers require you do make before entering the admin part of the page.
Good luck,
-SN

![]() |
layers and table ..
|
Weblogic developer subscr...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |