473,387 Members | 1,517 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,387 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 3190
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.