By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,806 Members | 1,490 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,806 IT Pros & Developers. It's quick & easy.

Launching IE with username and password

P: 3
Hi!
I have a little problem in my app.
I must launch the IE from a button (this is not a problem: System.Diagnostics.Process.Start(url) works fine).
The real problem is that I have a form that has an embedded web browser. The users log-in in that form in my intranet. Afterwards, if I open an instance of the IE, I need that the users remain logged, but the IE prompts to introduce the username and password.

How can I tell IE that I'm still logged (as it does when I open a new window from a page where I've logged already)?

Thanks in advance
Apr 19 '07 #1
Share this Question
Share on Google+
5 Replies


Frinavale
Expert Mod 5K+
P: 9,731
Hi!
I have a little problem in my app.
I must launch the IE from a button (this is not a problem: System.Diagnostics.Process.Start(url) works fine).
The real problem is that I have a form that has an embedded web browser. The users log-in in that form in my intranet. Afterwards, if I open an instance of the IE, I need that the users remain logged, but the IE prompts to introduce the username and password.

How can I tell IE that I'm still logged (as it does when I open a new window from a page where I've logged already)?

Thanks in advance
What form of authentication are you using to gather the user credentials?

-Frinny
Apr 19 '07 #2

P: 3
The Intranet is running on a Lotus Domino Server, so the page were the users log-in is already built in that system. I simply load it in my embedded web browser.

I'm working with vb.net.

Thanks
Apr 20 '07 #3

Frinavale
Expert Mod 5K+
P: 9,731
The Intranet is running on a Lotus Domino Server, so the page were the users log-in is already built in that system. I simply load it in my embedded web browser.

I'm working with vb.net.

Thanks

This is an interesting problem.
I would recommend writing your own login functionality and creating a Session for the user when they're logged in.

Unless the current login functionality returns true or false to your program...if this is the case then you can create a Session based on whether or not the user correctly logged in.

Hopefully this was helpful,

-Frinny
Apr 20 '07 #4

radcaesar
Expert 100+
P: 759
Can i have the problem more explained ?
Apr 20 '07 #5

P: 3
I'll try to explain it. (I'm spanish, so please, forgive my mistakes)

My app has a form with an embedded web browser.
We launch an URL in it that loads a page from a Lotus Domino Server that works like del.icio.us. The user has a set of favorite web pages. To access this page, the user must log-in to the server. He introduces its username and password and the page loads perfectly.
No problem so far.
When the user clicks an external url, there is no problem: I launch an instance of the default web browser with the url and it loads ok.
The problem is when the url redirects to a page inside the Domino Server, and the user must be logged to access it. Then the user is prompted to introduce again his username and password.
And this is the problem: Everytime the user launches an url inside the Domino Server and a new instance of the Explorer is opened, he is prompted to introduce username and pass.
Also, my app (it's more or less a toolbar) has a set of predefined buttons that load pages of the Domino Server. It doesn't matter that the user has already logged into the Server. He is prompted to introduce username and pass again.

I hope now it's clearer.

Thanks!!!
Apr 23 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.