473,782 Members | 2,393 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using the WebBrowser::Nav igate2 method getting the same sessionId.

Hi,

My application is a MDI and for each document, I create a WebBrowser control
and call Navigate2 to get the HTML view of each document.

I have tried opened two documents and Navigate2 to the same ASP page. I
find that I get the same sessionId of these two view and the data of these
two documents are screwed up.

Do you know why the two WebBrowser controls have the same session id? (is
it because they are created in the same application process?).

Could you tell me how to make them in different session?

Thanks,

Kevin.

Jul 19 '05 #1
1 3578
http://www.aspfaq.com/5004

Ray at home

"Kevin" <ke************ **@hotmail.com> wrote in message
news:uJ******** ******@TK2MSFTN GP12.phx.gbl...
Hi,

My application is a MDI and for each document, I create a WebBrowser control and call Navigate2 to get the HTML view of each document.

I have tried opened two documents and Navigate2 to the same ASP page. I
find that I get the same sessionId of these two view and the data of these
two documents are screwed up.

Do you know why the two WebBrowser controls have the same session id? (is
it because they are created in the same application process?).

Could you tell me how to make them in different session?

Thanks,

Kevin.

Jul 19 '05 #2

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

Similar topics

13
4267
by: joltman | last post by:
We're working on an intranet site where we will require user's to only be able to access their own page in some instances. Rather than introducing another password to the mix, we were thinking about seeing if we could use the same credentials (username and password) as their linux credentials. The web site will be running off of the same machine that we want to access the credentials on. Thanx! -joltman
7
20932
by: Rui Pestana | last post by:
Hello all, I want to use the POST method to submit the form and then grab the parameters in the asp file with request.form("parm"). The problem is that I am using the _search target to open the asp page. When I use _blank target there is no problem, either I use GET or POST method. But when I use _search target, only GET method works.
4
2197
by: Coot | last post by:
I've been running many tests of the Asynchronous Delegate technique and I find that although BeginInvoke() does queue the method delegate onto a worker thread, it always does so on the _same_ thread. So if I call BeginInvoke() three times in a row, the method delegates are queued to the same thread and the second method doesn't begin until the first method completes, and the third doesn't begin until the second completes. This occurs...
2
1662
by: Rich | last post by:
Is there a way to inform all users concurrently using same web application when one user has made changes to data? Remote scripting has that ability to send data to client but can't be done without the client invoking the call to server. Just need a kick in right direction. Thanks!
1
2883
by: Pankaj | last post by:
Hello friends, I am implementing something like PM |------------------------------------------------------ | | | | | ------- -| send_if( data) | | | M | | | | | |
0
3736
by: Dean Hallman | last post by:
Hello, I am developing a BHO that should add a custom HTTP header on a specific domain only. Don't want the header globally, otherwise I could just add a registry key. So, on BEFORENAVIGATE2, I am canceling the current navigation and renavigating with the new custom header using Navigate2. This usually works fine, but in some cases (particularly when selecting a link that starts a new window), the Navigate2 call fails.
18
6867
by: Zytan | last post by:
I have multiple threads writing to WebBrowser (using a function that checks InvokedRequired, and if so, invokes itself on the WebBrowser thread) and they are getting deadlocked. They only deadlock when I use lock { } around the call to WebBrowser.Write to ensure thread safety! Does any one have experience with such a thing? Zytan
4
2633
by: Andrew Poulos | last post by:
I'm trying to use the String method parseJSON (that is created in the javascript of a frameset) in one of the frames but I don't know how to correctly reference it. This: notes = str.parseJSON(); doesn't seem to work - I get the error "str.parseJSON is not a function". And this: notes = str.parent.parseJSON();
3
1408
by: Navdip | last post by:
i want to create a DHTML page in which i want to create a Table using method in JSCRIPT in which i'll pass the number of rows and coloumns as arguments of method. and table should get created when i call the method please give me code if u can.....
0
9643
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
9480
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,...
1
10081
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8968
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6735
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
5378
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
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3643
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2875
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.