Loading ...
Sorry, an error occurred while loading the content.

RE: [PBML] Authenticate User

Expand Messages
  • Oliver Manickum
    Hey Greg, I managed to solve the problem using another way, *Brainstormed!!!* hehehe
    Message 1 of 6 , Jun 2, 2000
    • 0 Attachment
      Hey Greg,

      I managed to solve the problem using another way, *Brainstormed!!!* hehehe

      <%@Language=PerlScript%>
      <%

      $new_url = "\<meta http-equiv=\"refresh\" content=\"0;
      url=http://username:password\@...\"\>";
      $Response->Write("\<HTML\>");
      $Response->Write("$new_url");
      $Response->Write("\</HTML\>");
      $Response->End;
      %>

      and it works !!!! thanks alot for taking the time 3:O) but if you have
      another suggestions I would luv to hear it.

      Thanks
      - Oliver



      -----Original Message-----
      From: Oliver Manickum [mailto:oliver@...]
      Sent: 02 June 2000 09:16
      To: perl-beginner@egroups.com
      Subject: RE: [PBML] Authenticate User


      Hey Greg,

      Thanx for the help, however I get a redirect error when I try using
      print "Location: username:password\@http://www.xxxxxxx.com\n\n";

      however when I replaced it with this
      print "Location: http://username:password\@...\n\n";

      It gets me to the domain then prompts me for the password. After I pressed
      cancel a couple of times, I get to the 401.2 Unauthrised Error. But then I
      refresh the page and it lets me in ??? Thats weird... another more weird
      thing is that the EventLog does not log the bad request ...

      Do you have anymore suggestions into authenticating or a url to look at.. I
      looked at the www.w3.org/Protocols but the HTTP section is not very helpful.

      Thanks
      - Oliver



      -----Original Message-----
      From: Greg Webster [mailto:greg@...]
      Sent: 02 June 2000 03:19
      To: perl-beginner@egroups.com
      Subject: Re: [PBML] Authenticate User


      On Fri, 02 Jun 2000, you wrote:
      >
      > Hey Guys,
      >
      >
      > I am trying to get a asp page to redirect to a url that requires a user to
      > log on. How can I automate the logging in ?
      >
      >
      > ie.
      >
      > <%@Language=PerlScript%>
      > <%
      > $Response->Redirect($url);
      > %>

      Standard Perl is:

      print "Location: username:password@http://www.xxxxxxx.com\n\n";

      Dunno if that helps in this case at all.

      Greg

      --
      <>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<>
      / \ GREG WEBSTER - greg@... / \/ \/ \
      \ / http://www.geekrights.org \ /\ /\ /
      <>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<>


      ------------------------------------------------------------------------
      Take your development to new heights. Work with clients like Dell and
      pcOrder. Submit your resume to jobs@.... Visit us at
      http://click.egroups.com/1/4358/2/_/12898/_/959952041/
      ------------------------------------------------------------------------





      ------------------------------------------------------------------------
      Take your development to new heights. Work with clients like Dell and
      pcOrder. Submit your resume to jobs@.... Visit us at
      http://click.egroups.com/1/4358/2/_/12898/_/959973112/
      ------------------------------------------------------------------------
    • Greg Webster
      Looks good...all I would have suggested next was to go to single quotes to avoid the problems with the @ symbol etc. Greg ... --
      Message 2 of 6 , Jun 2, 2000
      • 0 Attachment
        Looks good...all I would have suggested next was to go to single quotes to
        avoid the problems with the @ symbol etc.

        Greg


        On Fri, 02 Jun 2000, you wrote:
        > Hey Greg,
        >
        > I managed to solve the problem using another way, *Brainstormed!!!* hehehe
        >
        > <%@Language=PerlScript%>
        > <%
        >
        > $new_url = "\<meta http-equiv=\"refresh\" content=\"0;
        > url=http://username:password\@...\"\>";
        > $Response->Write("\<HTML\>");
        > $Response->Write("$new_url");
        > $Response->Write("\</HTML\>");
        > $Response->End;
        > %>
        >
        > and it works !!!! thanks alot for taking the time 3:O) but if you have
        > another suggestions I would luv to hear it.
        >
        > Thanks
        > - Oliver
        >
        >
        >
        > -----Original Message-----
        > From: Oliver Manickum [mailto:oliver@...]
        > Sent: 02 June 2000 09:16
        > To: perl-beginner@egroups.com
        > Subject: RE: [PBML] Authenticate User
        >
        >
        > Hey Greg,
        >
        > Thanx for the help, however I get a redirect error when I try using
        > print "Location: username:password\@http://www.xxxxxxx.com\n\n";
        >
        > however when I replaced it with this
        > print "Location: http://username:password\@...\n\n";
        >
        > It gets me to the domain then prompts me for the password. After I pressed
        > cancel a couple of times, I get to the 401.2 Unauthrised Error. But then I
        > refresh the page and it lets me in ??? Thats weird... another more weird
        > thing is that the EventLog does not log the bad request ...
        >
        > Do you have anymore suggestions into authenticating or a url to look at.. I
        > looked at the www.w3.org/Protocols but the HTTP section is not very helpful.
        >
        > Thanks
        > - Oliver
        >
        >
        >
        > -----Original Message-----
        > From: Greg Webster [mailto:greg@...]
        > Sent: 02 June 2000 03:19
        > To: perl-beginner@egroups.com
        > Subject: Re: [PBML] Authenticate User
        >
        >
        > On Fri, 02 Jun 2000, you wrote:
        > >
        > > Hey Guys,
        > >
        > >
        > > I am trying to get a asp page to redirect to a url that requires a user to
        > > log on. How can I automate the logging in ?
        > >
        > >
        > > ie.
        > >
        > > <%@Language=PerlScript%>
        > > <%
        > > $Response->Redirect($url);
        > > %>
        >
        > Standard Perl is:
        >
        > print "Location: username:password@http://www.xxxxxxx.com\n\n";
        >
        > Dunno if that helps in this case at all.
        >
        > Greg
        >
        > --
        > <>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<>
        > / \ GREG WEBSTER - greg@... / \/ \/ \
        > \ / http://www.geekrights.org \ /\ /\ /
        > <>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<>
        >
        >
        > ------------------------------------------------------------------------
        > Take your development to new heights. Work with clients like Dell and
        > pcOrder. Submit your resume to jobs@.... Visit us at
        > http://click.egroups.com/1/4358/2/_/12898/_/959952041/
        > ------------------------------------------------------------------------
        >
        >
        >
        >
        >
        > ------------------------------------------------------------------------
        > Take your development to new heights. Work with clients like Dell and
        > pcOrder. Submit your resume to jobs@.... Visit us at
        > http://click.egroups.com/1/4358/2/_/12898/_/959973112/
        > ------------------------------------------------------------------------
        >
        >
        >
        >
        >
        > ------------------------------------------------------------------------
        > Take your development to new heights. Work with clients like Dell and
        > pcOrder. Submit your resume to jobs@.... Visit us at
        > http://click.egroups.com/1/4358/2/_/12898/_/959974616/
        > ------------------------------------------------------------------------
        --
        <>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<>
        / \ GREG WEBSTER - greg@... / \/ \/ \
        \ / http://www.geekrights.org \ /\ /\ /
        <>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<>
      • Smith, Eric - WPAFB/YSXOI
        Yes. I had to resort to a META refresh for some applications also - it seems IIS is somewhat broken on the true redirect. - Eric
        Message 3 of 6 , Jun 5, 2000
        • 0 Attachment
          Yes. I had to resort to a META refresh for some applications also - it
          seems IIS is somewhat broken on the true redirect.

          - Eric

          > -----Original Message-----
          > From: Oliver Manickum [SMTP:oliver@...]
          > Sent: Friday, June 02, 2000 3:41 PM
          > To: perl-beginner@egroups.com
          > Subject: RE: [PBML] Authenticate User
          > Importance: High
          >
          > Hey Greg,
          >
          > I managed to solve the problem using another way, *Brainstormed!!!*
          > hehehe
          >
          > <%@Language=PerlScript%>
          > <%
          >
          > $new_url = "\<meta http-equiv=\"refresh\" content=\"0;
          > url=http://username:password\@...\"\>";
          > $Response->Write("\<HTML\>");
          > $Response->Write("$new_url");
          > $Response->Write("\</HTML\>");
          > $Response->End;
          > %>
          >
          > and it works !!!! thanks alot for taking the time 3:O) but if you have
          > another suggestions I would luv to hear it.
          >
          > Thanks
          > - Oliver
          >
          >
          >
          > -----Original Message-----
          > From: Oliver Manickum [mailto:oliver@...]
          > Sent: 02 June 2000 09:16
          > To: perl-beginner@egroups.com
          > Subject: RE: [PBML] Authenticate User
          >
          >
          > Hey Greg,
          >
          > Thanx for the help, however I get a redirect error when I try using
          > print "Location: username:password\@http://www.xxxxxxx.com\n\n";
          >
          > however when I replaced it with this
          > print "Location: http://username:password\@...\n\n";
          >
          > It gets me to the domain then prompts me for the password. After I
          > pressed
          > cancel a couple of times, I get to the 401.2 Unauthrised Error. But then
          > I
          > refresh the page and it lets me in ??? Thats weird... another more weird
          > thing is that the EventLog does not log the bad request ...
          >
          > Do you have anymore suggestions into authenticating or a url to look at..
          > I
          > looked at the www.w3.org/Protocols but the HTTP section is not very
          > helpful.
          >
          > Thanks
          > - Oliver
          >
          >
          >
          > -----Original Message-----
          > From: Greg Webster [mailto:greg@...]
          > Sent: 02 June 2000 03:19
          > To: perl-beginner@egroups.com
          > Subject: Re: [PBML] Authenticate User
          >
          >
          > On Fri, 02 Jun 2000, you wrote:
          > >
          > > Hey Guys,
          > >
          > >
          > > I am trying to get a asp page to redirect to a url that requires a user
          > to
          > > log on. How can I automate the logging in ?
          > >
          > >
          > > ie.
          > >
          > > <%@Language=PerlScript%>
          > > <%
          > > $Response->Redirect($url);
          > > %>
          >
          > Standard Perl is:
          >
          > print "Location: username:password@http://www.xxxxxxx.com\n\n";
          >
          > Dunno if that helps in this case at all.
          >
          > Greg
          >
          > --
          > <>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<>
          > / \ GREG WEBSTER - greg@... / \/ \/ \
          > \ / http://www.geekrights.org \ /\ /\ /
          > <>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<><>-<>
          >
          >
          > ------------------------------------------------------------------------
          > Take your development to new heights. Work with clients like Dell and
          > pcOrder. Submit your resume to jobs@.... Visit us at
          > http://click.egroups.com/1/4358/2/_/12898/_/959952041/
          > ------------------------------------------------------------------------
          >
          >
          >
          >
          >
          > ------------------------------------------------------------------------
          > Take your development to new heights. Work with clients like Dell and
          > pcOrder. Submit your resume to jobs@.... Visit us at
          > http://click.egroups.com/1/4358/2/_/12898/_/959973112/
          > ------------------------------------------------------------------------
          >
          >
          >
          >
          >
          > ------------------------------------------------------------------------
          > Take your development to new heights. Work with clients like Dell and
          > pcOrder. Submit your resume to jobs@.... Visit us at
          > http://click.egroups.com/1/4358/2/_/12898/_/959974616/
          > ------------------------------------------------------------------------
          >
          >
        Your message has been successfully submitted and would be delivered to recipients shortly.