Re: IE hosted .NET control as webservice client
From: Dmitriy Lapshin [C# / .NET MVP] (x-code_at_no-spam-please.hotpop.com)
Date: 03/17/04
- Next message: Alessandro: "Calendar and events"
- Previous message: Natty Gur: "Re: Edit collection property from Property window..."
- In reply to: Igor Kramaric: "IE hosted .NET control as webservice client"
- Next in thread: Igor Kramaric: "Re: IE hosted .NET control as webservice client"
- Reply: Igor Kramaric: "Re: IE hosted .NET control as webservice client"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 17 Mar 2004 12:41:37 +0200
Hi Igor,
The hosted controls know nothing about the session.To the best of my
knowledge, there is no built-in means to transfer session to the control
hosted on the client side. You could probably specify the session ID as one
of the parameters within the <OBJECT> tag so the control will then be able
to supply the session ID when invoking the Web service. This is just an
"off-the-top-of-my-head" suggestion though, I haven't tested it.
P.S. Please don't cross-post that aggressively.
-- Dmitriy Lapshin [C# / .NET MVP] X-Unity Test Studio http://www.x-unity.net/teststudio.aspx Bring the power of unit testing to VS .NET IDE "Igor Kramaric" <igor.kramaric@zg.htnet.hr> wrote in message news:udZm2XADEHA.3024@tk2msftngp13.phx.gbl... > Hi all, > here is my story: > > WHAT I HAVE > I'v got a web aplication (many aspx and html pages), some of this (html) > pages host .Net windows controls (derived from > System.Windows.Forms.UserControl) inside HTML page. These controls are web > service clients on same web server, in the same web application. Webservice > is session enabled. It resides inside of the same application with my web > pages (aspx). > > WHAT IS THE PROBLEM > For some reason first time control is accesing the web service new session > is created, although I was already browsing with my IE through my > application, having already one session created. It seems that control > hosted in IE can not share this session, or that is somehow not aware of it. > > WHAT I WOULD LIKE > I would simply like to share the same session no matter if i'm browsing my > aspx,html pages or i'm accesing webservice from my IE hosted control. > > Any advice? > > Thanks, > > Igor Kramaric > >
- Next message: Alessandro: "Calendar and events"
- Previous message: Natty Gur: "Re: Edit collection property from Property window..."
- In reply to: Igor Kramaric: "IE hosted .NET control as webservice client"
- Next in thread: Igor Kramaric: "Re: IE hosted .NET control as webservice client"
- Reply: Igor Kramaric: "Re: IE hosted .NET control as webservice client"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading