Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Duplicate cookies in ASP.NET

Reply
Thread Tools

Duplicate cookies in ASP.NET

 
 
Chris...
Guest
Posts: n/a
 
      04-06-2004
I have an application that works just fine under normal conditions.
But... When I run it through a "SSL Consentrator" (From Array
Network), it starts to send me several (Request) cookies with the same
name after the application has performed a "SignOut" - One with a
"correct value" and one more that is blank. If I try to use/handle the
"correct cookie" (Looping through the cookies), the application does
not work properly, and if i try to sign out once more - I end up with
3 simular cookies -It generates one more empty cookie for each time I
perform a "SignOut". The only solution that works, is if the user
closes the browser, and open a new one.

I am wondering if it is the box from Array that does not handle
cookies correctly, but...

Has anyone seen anything simular?


Chris...
 
Reply With Quote
 
 
 
 
George Ter-Saakov
Guest
Posts: n/a
 
      04-06-2004
I am not familiar with "SSL Consentrator"
How do you perform SignOut?

As i recall this result can be from incorrect attempt to erase cookies.
To erase cookies set expiration days to negative number.

If you set the value to empty then it will be acting like you described.

George.

"Chris..." <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> I have an application that works just fine under normal conditions.
> But... When I run it through a "SSL Consentrator" (From Array
> Network), it starts to send me several (Request) cookies with the same
> name after the application has performed a "SignOut" - One with a
> "correct value" and one more that is blank. If I try to use/handle the
> "correct cookie" (Looping through the cookies), the application does
> not work properly, and if i try to sign out once more - I end up with
> 3 simular cookies -It generates one more empty cookie for each time I
> perform a "SignOut". The only solution that works, is if the user
> closes the browser, and open a new one.
>
> I am wondering if it is the box from Array that does not handle
> cookies correctly, but...
>
> Has anyone seen anything simular?
>
>
> Chris...



 
Reply With Quote
 
 
 
 
Chris...
Guest
Posts: n/a
 
      04-07-2004
Hi George,

A "SSL Consentrator" is a hardware "SSL consentrator" that works like
a "channel" for internal/intranett webapplications. It is typically
used in combination with a firewall. It has enabled
Radius-authentication, and will ensure that all traffic is
SSL-Encrypted - even if it is not internally (Eg: The Intranett site).
This is a more secure way to access internal resources than the normal
"VPN-Tunnel" that will normally give you "too much", and potentially
the external desktop has viruses that will spread to the internal
network. Metaframe (Citrix) also has a webbased module that can be
used as an "Active-X Control", so you are able to work with
applications that are not webbased... in a web browser... SSL
Encrypted....

I use "FormsAuthentication.SignOut();". I'll go through my code and
verify that the cookie-handling does set an expiration to an negative
number.

The strange part is that it works when I do not use the SSL-Encryptor
in between... So the cookie-handling normally works...

It might be that IE does a more intelligent handling of cookies than
the SSL-Consentrator (The client has an session with the consentrator,
and the consentrator has its own session toward my application...)

Chris...



"George Ter-Saakov" <(E-Mail Removed)> wrote in message news:<#(E-Mail Removed)>...
> I am not familiar with "SSL Consentrator"
> How do you perform SignOut?
>
> As i recall this result can be from incorrect attempt to erase cookies.
> To erase cookies set expiration days to negative number.
>
> If you set the value to empty then it will be acting like you described.
>
> George.
>
> "Chris..." <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) om...
> > I have an application that works just fine under normal conditions.
> > But... When I run it through a "SSL Consentrator" (From Array
> > Network), it starts to send me several (Request) cookies with the same
> > name after the application has performed a "SignOut" - One with a
> > "correct value" and one more that is blank. If I try to use/handle the
> > "correct cookie" (Looping through the cookies), the application does
> > not work properly, and if i try to sign out once more - I end up with
> > 3 simular cookies -It generates one more empty cookie for each time I
> > perform a "SignOut". The only solution that works, is if the user
> > closes the browser, and open a new one.
> >
> > I am wondering if it is the box from Array that does not handle
> > cookies correctly, but...
> >
> > Has anyone seen anything simular?
> >
> >
> > Chris...

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Give Request.Cookies and Response.Cookies is there any reason to use another method to use cookies? _Who ASP .Net 7 09-18-2008 07:49 PM
What's the proper way of reading cookies? Request.Cookies("mycook") doesnt work user ASP .Net 3 03-31-2007 01:53 PM
Response.Cookies vs Request.Cookies Alex Nitulescu ASP .Net 1 02-03-2005 09:43 AM
Persistent Cookies vs. session cookies Andy Fish Java 3 11-06-2003 10:44 AM
Good Cookies bad Cookies? AK Computer Support 23 10-26-2003 05:20 AM



Advertisments