I have to tell you that behavior is only when I'm using WebBrowser class,
when ever I start the same asp.net apps from Internet explorer out of the
windows app every new window open by a link from the current asp.net app is
on the same session. Only the ones from the windows app runnnig the
webbrowser class behave not keeping the same session.
What I deduct from this is, from window to window there should be a value or
set of values that I'm suppossed to pass in order to keep the two browsers
in the same session.
Thanks for your posting.
Victor
> Hi Victor,
>
[quoted text clipped - 25 lines]
> from your issue.
> ====================================================
I have to tell you that behavior is only when I'm using WebBrowser class,
when ever I start the same asp.net apps from Internet explorer out of the
windows app every new window open by a link from the current asp.net app is
on the same session. Only the ones from the windows app runnnig the
webbrowser class behave not keeping the same session.
What I deduct from this is, from window to window there should be a value or
set of values that I'm suppossed to pass in order to keep the two browsers
in the same session.
Thanks for your posting.
Victor
> Hi Victor,
>
[quoted text clipped - 25 lines]
> from your issue.
> ====================================================
Linda Liu [MSFT] - 26 Jun 2006 11:59 GMT
Hi Victor,
Thank you for your update.
Is the web application you navigate in IE and in your windows application
written by yourself? If yes, would you please send the web application
project to me for research?
When you navigate the web pages in your windows application and click on a
link to open a new window, is the new window a new windows form in your
windows application or a new IE instance?
To get my actual email address, please remove the "online" from my
displayed email address.
I appreciate your cooperation and look forward to your reply.
Sincerely,
Linda Liu
Microsoft Online Community Support
====================================================
When responding to posts,please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
====================================================
Luke Zhang [MSFT] - 06 Jul 2006 08:56 GMT
Hello Victor,
I may not undertsand the problem exactly. But I didn't agree what you said
session about an ASP.NET appliaction. If you rasie a new IE instance
(Start/All Programs/Internet Explorer), a session wil start; If we open a
new IE window from a original one (File/New/Window), it will share the
original session. For Web browser control, it just like we open a new IE
instance, and start a new session. For example, you test following ASP.NET
with IE:
protected void Page_Load(object sender, EventArgs e)
{
if (Session["Test"] == null)
Session["Test"] = "New";
else
Session["Test"] = "old";
Response.Write(Session["Test"]);
}
Regards,
Luke Zhang
Microsoft Online Community Lead
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
(This posting is provided "AS IS", with no warranties, and confers no
rights.)