Login through Link
Hey,
Can anyone tell me why the link beneath doesn't work in MIE? It works fine
in FireFox....
<a href='http://username:password [at] www.mysite.com/bleh/logout'>Link</a>
thnx
A.T.
Re: Login through Link
Ang Talunin wrote:
> Can anyone tell me why the link beneath doesn't work in MIE? It works
> fine in FireFox....
>
> <a href='http://username:password [at] www.mysite.com/bleh/logout'>Link</a>
>
One of the service packs disabled this feature in MIE.
JW
Re: Login through Link
>> Can anyone tell me why the link beneath doesn't work in MIE? It works
>> fine in FireFox....
>>
>> <a href='http://username:password [at] www.mysite.com/bleh/logout'>Link</a>
>>
>
> One of the service packs disabled this feature in MIE.
Do you know a way to this anyway?
Re: Login through Link
Ang Talunin wrote:
> Do you know a way to this anyway?
Not really, although some sites set a cookie ones the login is successful.
When this is the case with the site, you could connect to it with fsockopen,
send the credentials through fputs (that would be, per example, in the
format
fputs("Authorization: basic " . base_64encode("username:password") .
"\r\n")) and try to set the cookie.
Coming to think of it, this will probably fail because you cannot set a
cookie for the remote server, which leave this suggestion only as a
thought...
JW
Re: Login through Link
Isn't there a nice way to do this with sending a header?
Re: Login through Link
Ang Talunin wrote:
> Isn't there a nice way to do this with sending a header?
Nope