Duplicate cookies in ASP.NET

Discussion in 'ASP .Net' started by Chris..., Apr 6, 2004.

  1. Chris...

    Chris... Guest

    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...
    Chris..., Apr 6, 2004
    #1
    1. Advertising

  2. 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..." <> wrote in message
    news:...
    > 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...
    George Ter-Saakov, Apr 6, 2004
    #2
    1. Advertising

  3. Chris...

    Chris... Guest

    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" <> wrote in message news:<#>...
    > 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..." <> wrote in message
    > news:...
    > > 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...
    Chris..., Apr 7, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alex Nitulescu

    Response.Cookies vs Request.Cookies

    Alex Nitulescu, Feb 3, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    8,484
    Hans Kesting
    Feb 3, 2005
  2. Andy Fish
    Replies:
    3
    Views:
    6,525
    Fredrik Lindner
    Nov 6, 2003
  3. user
    Replies:
    3
    Views:
    661
    =?ISO-8859-1?Q?G=F6ran_Andersson?=
    Mar 31, 2007
  4. archana
    Replies:
    1
    Views:
    505
  5. _Who
    Replies:
    7
    Views:
    2,657
Loading...

Share This Page