473,621 Members | 2,745 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MSHTML Sessions

Hi all,

I am making a program using the I.E. web browser control and need some
(more) help. I need multiple windows open (multiple instances of the web
browser) open at once on a page which requires the user to log on. As it is
now I simple create the new forms and the webpage asks me to log in again.
Is there some way of making all the web browser controls use the same
internet sessions or something similar which will have the desired effect?

Regards, David
Nov 17 '05 #1
4 1911
Hi David,

maybe you could use cookies to handle your session ??

Cheers
Lars Behrmann

_______________ __
Nothing is impossible. UML is the key for all your problems.
AODL - Make your .net apps OpenOffice ready
http://aodl.sourceforge.net/

David Pendrey schrieb:
Hi all,

I am making a program using the I.E. web browser control and need some
(more) help. I need multiple windows open (multiple instances of the web
browser) open at once on a page which requires the user to log on. As it is
now I simple create the new forms and the webpage asks me to log in again.
Is there some way of making all the web browser controls use the same
internet sessions or something similar which will have the desired effect?

Regards, David


Nov 17 '05 #2
How?

"Lars Behrmann" <la***********@ web.de> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
Hi David,

maybe you could use cookies to handle your session ??

Cheers
Lars Behrmann

_______________ __
Nothing is impossible. UML is the key for all your problems.
AODL - Make your .net apps OpenOffice ready
http://aodl.sourceforge.net/

David Pendrey schrieb:
Hi all,

I am making a program using the I.E. web browser control and need
some
(more) help. I need multiple windows open (multiple instances of the web
browser) open at once on a page which requires the user to log on. As it
is
now I simple create the new forms and the webpage asks me to log in
again.
Is there some way of making all the web browser controls use the same
internet sessions or something similar which will have the desired
effect?

Regards, David

Nov 17 '05 #3
Hi David,

i thought that you also programm the websites,
so that you could implement the session handling
with cookies there, but if not you have of course
no way do it. Otherwise on Codeproject.com you will
find an article about state mangement with asp.net
incl. using cookies

http://www.codeproject.com/aspnet/as...tstatmgmnt.asp

Cheers
Lars Behrmann

David Pendrey schrieb:
How?

"Lars Behrmann" <la***********@ web.de> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
Hi David,

maybe you could use cookies to handle your session ??

Cheers
Lars Behrmann

_______________ __
Nothing is impossible. UML is the key for all your problems.
AODL - Make your .net apps OpenOffice ready
http://aodl.sourceforge.net/

David Pendrey schrieb:
Hi all,

I am making a program using the I.E. web browser control and need
some
(more) help. I need multiple windows open (multiple instances of the web
browser) open at once on a page which requires the user to log on. As it
is
now I simple create the new forms and the webpage asks me to log in
again.
Is there some way of making all the web browser controls use the same
internet sessions or something similar which will have the desired
effect?

Regards, David


Nov 17 '05 #4
Lars,

That looks like it is only server side code. I need multiple instances of
MSHTML to act as if they were a single application. Can this even be done?

David

"Lars Behrmann" <la***********@ web.de> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
Hi David,

i thought that you also programm the websites,
so that you could implement the session handling
with cookies there, but if not you have of course
no way do it. Otherwise on Codeproject.com you will
find an article about state mangement with asp.net
incl. using cookies

http://www.codeproject.com/aspnet/as...tstatmgmnt.asp

Cheers
Lars Behrmann

David Pendrey schrieb:
How?

"Lars Behrmann" <la***********@ web.de> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
> Hi David,
>
> maybe you could use cookies to handle your session ??
>
> Cheers
> Lars Behrmann
>
> _______________ __
> Nothing is impossible. UML is the key for all your problems.
> AODL - Make your .net apps OpenOffice ready
> http://aodl.sourceforge.net/
>
> David Pendrey schrieb:
>
>> Hi all,
>>
>> I am making a program using the I.E. web browser control and need
>> some
>> (more) help. I need multiple windows open (multiple instances of the
>> web
>> browser) open at once on a page which requires the user to log on. As
>> it
>> is
>> now I simple create the new forms and the webpage asks me to log in
>> again.
>> Is there some way of making all the web browser controls use the same
>> internet sessions or something similar which will have the desired
>> effect?
>>
>> Regards, David
>

Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
7755
by: Dean Hallman | last post by:
I need to ensure client machine has Microsoft.mshtml installed in the GAC. And if not, deploy it. My app is a Browser Helper Object and depends on mshtml. Initially, I thought I could take care of deploying mshtml within my install ..msi (VS.NET setup/deploy project). But if I simply add mshtml to the GAC from my install, the install fails near the end with the error:
4
17628
by: David Pendrey | last post by:
Hello all, I am using the WebBrowser control to browse a webpage containing frames and am having difficulties accessing the 'frames' property of a document object. Bellow is my code and the error recieved: webAccess.Navigate(URL); // Wait until document is loaded. This part DOES work IHTMLDocument2 mDoc = (IHTMLDocument2)(webAccess.Document); IHTMLFramesCollection2 mFrames = (IHTMLFramesCollection2)(mDoc.frames);
10
10994
by: Hans Merkl | last post by:
Hi, I have written an pap with .NET 2.0 and c# that uses MSHTML. It works fine on my development machine but on machines I deploy it to I get the following exception when ever I call MSHTML. "Could not load file or assembly 'Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified."
2
3756
by: DotNetShadow | last post by:
Hi Guys, I have been reading heaps of information in regards to MSHTML object being used in .NET applications, windows and UI-less. I have read the walkall samples and tried various techniques with MSHTML. My biggest problem seems to be running MSHTML in asp.net application and looping elements in the document. Example:
4
3290
by: Lars-Erik Aabech | last post by:
Hi! I've been walking in extacy since reading the article about test automation with IE in the latest MSDN mag. (http://msdn.microsoft.com/msdnmag/issues/05/10/TestRun/default.aspx) After a while, I had to find an issue I couldn't solve. (Of course) If an ASP.NET page uses the smartnav option, the document you get from IE only contains the viewstate input etc, the scripts and an IFrame.
5
10897
by: Atara | last post by:
I am trying to convert the following code to VB .Net, I still have some gaps (the lines that are marked with (*)) and also I need an ending condition for the while loop. any help would be appreciated. Thanks. Atara. ------------------------- Original code:
0
2231
by: Atara | last post by:
Our application was build with VS 2003. I have tried to run it on a computer with .Net 2.0 (but without .Net 1.1 , as it should be used) and I got the following error - System.InvalidCastException: Unable to cast COM object of type 'mshtml.HTMLBodyClass' to class type ''. COM components that enter the CLR and do not support IProvideClassInfo or that do not have any interop assembly registered will be wrapped in the __ComObject type....
11
2354
by: Lucky | last post by:
hi guys, i need to parse html data that i've got from "Inet" object in vb6. now i want to prase the html data. here i got 2 options. one is MSXML and other is MSHTML. i tried both of them but i didnt get anything out of them. MSXML doesnt works with some keywords and consider some letters as operator so i cant go with MSXML. i tried MSHTML but it doesnt provide any way to parse the HTML data you got from other source. there is a...
5
3877
by: Jason | last post by:
Hi, I'm developing an HTML Editor Control using VB.Net 2003 for an application that used to use the DHTML Editor Control that is no longer supported. Well, it's been fun but I've hit a wall with an intermittent problem working with editing Hyperlinks. As you can see the following HTML code contains two links each in a paragraph tag. In the Editor, when I highlight the first link and execute code to select,
0
8213
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8156
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8597
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
5554
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4065
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4150
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2587
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1460
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.