473,411 Members | 2,185 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

Launching IE with username and password

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
5 1511
Frinavale
9,735 Expert Mod 8TB
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
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
9,735 Expert Mod 8TB
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
759 Expert 512MB
Can i have the problem more explained ?
Apr 20 '07 #5
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

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

Similar topics

1
by: Stephan Steiner | last post by:
Hi I'm trying to automate VPN connection establishment and disconnection using the Cisco VPN client. That particular client has an interactive cli interface. I set my program up to launch the...
11
by: Kevin O'Brien | last post by:
Hello, I am creating a sign on screen for my application in which I want to store the username and password in a database table. I was thinking of putting a combo box connected to the database...
0
by: roamnet | last post by:
hi i created database file with .mdf extention ,sql server as a source and use grid view to display data there're no problem in data retrieve and display,but i want to edit it or insert new...
0
by: julia.druce | last post by:
I can't seem to launch a process as a different user and hide the window as well. If i don't specify the user, my window launches hidden. But when I specify a user, the executable.exe process...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.