Lincoln,
you have to be more specific. If you're accessing a resource on the web
which requires a password, then are you using servlets?. How are you
authenticating yourself the first time?. You can always create session for
your log in, and keep it alive for as long as you want to. Or create a
cookie and set it on ur machine, so, when you access that resouce, the
cookie validates you.
regards,
> This is a multi-part message in MIME format.
------=_NextPart_000_0027_01C2162F.971B06C0
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
Hi,
I want to access a file which is accessed via
the following URL.
I am trying to access the following without typing in my password =
everytime I need to access the file (quite alot).=20
https://www2.tradingroom.com.au/security/TPLEnterServlet?urlTo=3Dhttp%3a/=
/www1.tradingroom.com.au/tpl/investments/download/tr%5fcur%5fsec%5fintrad=
ay%5fprice.isam%3fcode%3dmim
I have tried to download the source & change it to log me in =
automatically when the script is run. It doesn't seem to work. Can you =
please help me out?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<td><INPUT TYPE=3D"hidden" NAME=3D"userName" value=3D"XXXX"></td>
<td><INPUT TYPE=3D"hidden" NAME=3D"password" value=3D"XXXX"></td>
<INPUT TYPE=3D"HIDDEN" NAME=3D"urlfrom" VALUE=3D"null">
<INPUT TYPE=3D"HIDDEN" NAME=3D"urlto" =
VALUE=3D"http://www1.tradingroom.com.au/tpl/investments/download/tr_cur_s=
ec_intraday_price.isam?code=3Dmim">
<td><INPUT TYPE=3D"SUBMIT" NAME=3D"SUBMIT" VALUE=3D"LOGIN"></td>
</html>
Regards
Lincoln Budiman
------=_NextPart_000_0027_01C2162F.971B06C0
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi,</FONT></DIV>
<DIV><FONT size=3D2>I want to access a file which is accessed =
via</FONT></DIV>
<DIV><FONT size=3D2>the following URL.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>I am trying to access the following without =
typing in my=20
password everytime I need to access the file (quite =
alot). </FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2><A=20
href=3D"https://www2.tradingroom.com.au/security/TPLEnterServlet?urlTo=3D=
http%3a//www1.tradingroom.com.au/tpl/investments/download/tr%5fcur%5fsec%=
5fintraday%5fprice.isam%3fcode%3dmim">https://www2.tradingroom.com.au/sec=
urity/TPLEnterServlet?urlTo=3Dhttp%3a//www1.tradingroom.com.au/tpl/invest=
ments/download/tr%5fcur%5fsec%5fintraday%5fprice.isam%3fcode%3dmim</A></F=
ONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>I have tried to download the source & change it =
to =20
log me in automatically when the script is run. </FONT><FONT size=3D2>It =
doesn't=20
seem to work. Can you please help me out?</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0=20
Transitional//EN"><BR><html><BR><td><INPUT =
TYPE=3D"hidden"=20
NAME=3D"userName" value=3D"XXXX"></td><BR><td><INPUT =
TYPE=3D"hidden"=20
NAME=3D"password" value=3D"XXXX"></td><BR><INPUT =
TYPE=3D"HIDDEN"=20
NAME=3D"urlfrom" VALUE=3D"null"><BR><INPUT TYPE=3D"HIDDEN" =
NAME=3D"urlto"=20
VALUE=3D"<A=20
href=3D"http://www1.tradingroom.com.au/tpl/investments/download/tr_cur_se=
c_intraday_price.isam?code=3Dmim">http://www1.tradingroom.com.au/tpl/inve=
stments/download/tr_cur_sec_intraday_price.isam?code=3Dmim</A>"><BR>&l=
t;td><INPUT=20
TYPE=3D"SUBMIT" NAME=3D"SUBMIT"=20
VALUE=3D"LOGIN"></td><BR></html></FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Regards</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Lincoln Budiman</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0027_01C2162F.971B06C0--