473,322 Members | 1,540 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Duplicate cookies in ASP.NET

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...
Nov 18 '05 #1
4 3181
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..." <ch************@hotmail.com> wrote in message
news:9a**************************@posting.google.c 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...

Nov 18 '05 #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..." <ch************@hotmail.com> wrote in message
news:9a**************************@posting.google.c 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...

Nov 18 '05 #3
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" <no****@hotmail.com> wrote in message news:<#Y**************@TK2MSFTNGP11.phx.gbl>...
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..." <ch************@hotmail.com> wrote in message
news:9a**************************@posting.google.c 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...

Nov 18 '05 #4
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" <no****@hotmail.com> wrote in message news:<#Y**************@TK2MSFTNGP11.phx.gbl>...
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..." <ch************@hotmail.com> wrote in message
news:9a**************************@posting.google.c 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...

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Brian Burgess | last post by:
Hi all, Anyone know of any special issues with storing cookies with ASP? I'm trying this with two browsers: One is IE 6.0 with cookies set to 'prompt'. This has been working properly as any...
20
by: Brian Burgess | last post by:
Hi all, Anyone know if this is possible? If so, on which page would the cookie be? .. On the page calling a function defined in the include file? thanks in advance.. -BB
9
by: | last post by:
Is it possible for a user to enable permanent cookies but disable session cookies.....this seems like a contradition yet this is what I appear to be reading in online articles?
1
by: John Taylor-Johnston | last post by:
I'm a University academic looking for a proper definition of JavaScript Cookies. http://www.CollegeSherbrooke.qc.ca/languesmodernes/604-HAE_Grammar_Practice/ I'm trying to decipher what...
6
by: Mark | last post by:
Hi... I've come across some weird bug with Response.Cookies. Or maybe it will be called "by design" but for the life of me I can't figure out what purpose it would serve. If you're setting a...
6
by: nick4soup | last post by:
I have read the CGI FAQ 'How can I avoid users hitting "submit" twice' (on http://www.htmlhelp.org/faq/cgifaq.3.html#19 ) which essentially says you have to detect it at the server, using a...
2
by: Chris... | last post by:
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...
8
by: CDARS | last post by:
Hi all, I have a confusing question on ASP.NET cookies usage: 1> Response.Cookies("test").value = Now 2> Response.Write(Request.Cookies("test").value) 3> 4> Response.write("<hr>") 5>...
6
by: Stephane | last post by:
Hi, I have a login page where if the user wants his access codes to be saved are set into a cookie. In the logout page, I want to delete those cookies. I tried this and this is not working at...
0
by: rn5a | last post by:
This is how I am creating & then reading cookies: <script runat="server"> Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs) 'create cookies Response.Cookies("UserName").Value = "Ron"...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.