Ask a Question related to ASP.NET Security, Design and Development.
-
Wells Caughey #1
Sharing ASPAUTH cookie between IE and a hosted Windows Form Control
Hello everyone,
I have a situation where I am hosting a windows forms based control on a web
page in IE. Because the windows forms app uses web services to get and set
data on the server I need to make sure that it has a secure context in which
to talk to the sever. What I am doing now is using a PARAM tag to pass the
user's .ASPXAUTH cookie to the windows forms app. Once the Window forms app
receives this cookie it then adds it to the CookieContainer in the
webservice proxy object and from there on out the windows forms app shares
the user's session with IE.
All this seems to work well, except for when a user uses the windows forms
app for a period longer than the time out on the cookie. In such a case it
is my assumption that the windows forms app may cause ASP.NET to issue a new
..ASPXAUTH cookie there by making IE redirect to the login page as soon as
the user attempts to navigate to a new page.
In my tests this has never happend, but I want a confirmation of my
assumption: will ASP.NET change the value of the .ASPXAUTH cookie so long
as it continues to receive requests (via IE or the windows forms app) in
intervals shorter than the cookie's timeout.
Thanks
Wells Caughey
Wells Caughey Guest
-
add a control box or Windows Form to Acrobat
Is there a way to add a control box or Windows Form to collect and amend document metadata of our own design. I am looking to add this to Acrobat... -
Issue using CDO and ASP when hosted from a Windows Server 2003 box
Hello. I have a function, code below, that I use to send email in ASP via the CDO object. The username and password to the SMTP server are... -
IE hosted strong named control
Hi I am trying to make user control which is to be hosted in IE. The control is inteneded to digitally sign XML with signedXml.ComputeSignature()... -
Windows form control on Web page
VB.NET ASP.NET Does anyone know how to embed a windows forms control on a web page in the same way that you could do active x objects in asp ... -
Passing Parameters to Windows Form Control FROM IE
Hi All, I have developed a windows forms user control, which I am going to host in Internet Explorer.. I am familiar with the security settings... -
Wells Caughey #2
Re: Sharing ASPAUTH cookie between IE and a hosted Windows Form Control
Hmm, nevermind... It turns out I had a major bug in my authentication logic
and I'll just have to find another way to do this.
Wells
"Wells Caughey" <wellscaughey@hotmail.com> wrote in message
news:%23PLgL$ceEHA.720@TK2MSFTNGP11.phx.gbl...web> Hello everyone,
>
> I have a situation where I am hosting a windows forms based control on aset> page in IE. Because the windows forms app uses web services to get andwhich> data on the server I need to make sure that it has a secure context inthe> to talk to the sever. What I am doing now is using a PARAM tag to passapp> user's .ASPXAUTH cookie to the windows forms app. Once the Window formsit> receives this cookie it then adds it to the CookieContainer in the
> webservice proxy object and from there on out the windows forms app shares
> the user's session with IE.
>
> All this seems to work well, except for when a user uses the windows forms
> app for a period longer than the time out on the cookie. In such a casenew> is my assumption that the windows forms app may cause ASP.NET to issue a> .ASPXAUTH cookie there by making IE redirect to the login page as soon as
> the user attempts to navigate to a new page.
>
> In my tests this has never happend, but I want a confirmation of my
> assumption: will ASP.NET change the value of the .ASPXAUTH cookie so long
> as it continues to receive requests (via IE or the windows forms app) in
> intervals shorter than the cookie's timeout.
>
> Thanks
> Wells Caughey
>
>
Wells Caughey Guest



Reply With Quote

