Link to home
Start Free TrialLog in
Avatar of r_fritz
r_fritzFlag for United States of America

asked on

Can I pass the User ID/Password to a website?

Is is possible to pass the user id/password to a site to prevent the dialog box for Basic Authentication?

Thanks
Rob
Avatar of jhurst
jhurst

Not as part of a standard page or from Javascript, etc.

If you are trying to have a page that gets past this, then the answer is NO.

Why would you want to do this?  If the page needs protection then it needs protection, if it does not then it does not.  Or, are you trying to store it for someone else's pages?
Avatar of r_fritz

ASKER

what i am trying to do is this ...

A user logs onto my site ... now the user is a known intetity ... if i have a link to another site that the user has a user id/password (that i have stored in a sql database) i want to be able to get around the user having to identify himself all over again...

is this possible ???

Maybe cookies???

CJ
ASKER CERTIFIED SOLUTION
Avatar of jhurst
jhurst

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
jhurst: both of your proposed answers seemed to be better fit if they were just posted as comments.  You should try not to lock the question down so other experts can help out.

I do not agree with that r_fritz, but appreciate the input.  

The first proposed answer actually did answer the question that it can ot be done, which is the case.

Then the question was modified to ask if there was another way of achieving the same effect.  The method will and does work and so is an answer.
Avatar of r_fritz

ASKER

Thanks jhurst .... I apreciate the additional information... I am not sure if this will work for the sole reason that i am at the mercy of the other web site (the webmater's willingness o help me out)

by the way i did not post the comment above about how the answers should have been posted as comments instead of answers ... i thought that was the purpose of this site ...

thanks again for the sugestion ...

Rob