If he want's to pre-authenticate to another site/application, you'll need to
either adjust the other site to accept a passed in token, for lookup, or he'll
need to actually simulate the user logging into the page in question, then
pass any cookies to the user before redirecting to the foreign site...
The latter is really bad form.. if it's for personal use, I'll often create a
bookmark, like the following...
javascript
:document.forms[o].elemenst['u'].value='someuser';...forms[0].submit();
where I populate whatever values I want... if I have a bunch of users for
different classes in a test site, it's usually easier than the autologin
feature. but that's another point.
On 10/13/2008 8:24 AM, Hillbilly wrote:
You clearly are just beginning and its understandable that you do not
know that no competent programmer will code authentication the way you
are asking about because it is not secure.
ASP.NET supports a Membership, Roles and Profile system that is used to
do exactly what you probably need but not the way you are asking to get
it done.
Go to http://www.asp.net/learn/security/ and study -- ALL -- of the
video tutorials.
"ofiras" <of****@gmail.comwrote in message
news:1f**********************************@p58g2000 hsb.googlegroups.com...
On 13 אוקטובר, 11:03, ofiras <ofi...@gmail.comwrote:
>Hi,
I made a form application with a WebBrowser that navigates to a
certain URL. This URL is asking for a username and html before I enter
it (a message box is shown and asks for a username and password). I
already know the username and pass, so how can I make the application
automatically insert them and go straightly to the URL I want?
Please help,
Ofir.
And how do I activate a function in the page or "press" a button in
the page?
--
Michael J. Ryan - tracker1(at)theroughnecks(dot)net -
www.theroughnecks.net
icq: 4935386 - AIM/AOL: azTracker1 - Y!: azTracker1 - MSN/Win: (email)
.... If all else fails, immortality can always be assured by spectacular error.