473,756 Members | 3,211 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cookies Disappearing

Hello,

I'm not a newbie to cookies, however I am stumpped by a receent issue
that has come up. I am running my web application through a frame
that belongs to another company. This application is much like an
Ariba Punhout application.

I am persisting cookies when the user first enters our application
within the frame, however when I redirect to another page, the cookies
are gone. I have tried setting the domain on the cookie and the
expiration is set at 30 days. I can only assume there is an issue
because of the frame.

Anyone have any pointers or thoughts? I am at a loss.

Jun 19 '07 #1
3 1956
this is know as a third party cookie. as it is most commonly used for ad
tracking, many browser/security add-ins block them. IE 7.0 will do this
by default if the site does not provide compact privacy policies(p3p):

article on deploying a p3p:

http://msdn2.microsoft.com/en-us/library/ms537341.aspx
-- bruce (sqlwork.com)

insomniac wrote:
Hello,

I'm not a newbie to cookies, however I am stumpped by a receent issue
that has come up. I am running my web application through a frame
that belongs to another company. This application is much like an
Ariba Punhout application.

I am persisting cookies when the user first enters our application
within the frame, however when I redirect to another page, the cookies
are gone. I have tried setting the domain on the cookie and the
expiration is set at 30 days. I can only assume there is an issue
because of the frame.

Anyone have any pointers or thoughts? I am at a loss.
Jun 19 '07 #2
You can read the whole day and then try to create your own p3p header.

But my advice is to take the p3p header from some other site (like msn.com).
They are ignored anyway. Just a presence of it matters.

What the heck. Take mine
Response.AddHea der("P3P", "CP=\"NON DSP COR CUR OUR IND INT\"")
Each page that plants third party cookies must send P3P in a header to
browser. So you will need to add that code to each page (I love inheritance)

George.

"bruce barker" <no****@nospam. comwrote in message
news:ua******** ******@TK2MSFTN GP04.phx.gbl...
this is know as a third party cookie. as it is most commonly used for ad
tracking, many browser/security add-ins block them. IE 7.0 will do this by
default if the site does not provide compact privacy policies(p3p):

article on deploying a p3p:

http://msdn2.microsoft.com/en-us/library/ms537341.aspx
-- bruce (sqlwork.com)

insomniac wrote:
>Hello,

I'm not a newbie to cookies, however I am stumpped by a receent issue
that has come up. I am running my web application through a frame
that belongs to another company. This application is much like an
Ariba Punhout application.

I am persisting cookies when the user first enters our application
within the frame, however when I redirect to another page, the cookies
are gone. I have tried setting the domain on the cookie and the
expiration is set at 30 days. I can only assume there is an issue
because of the frame.

Anyone have any pointers or thoughts? I am at a loss.

Jun 19 '07 #3
On Jun 19, 4:24 pm, "George Ter-Saakov" <gt-...@cardone.com wrote:
You can read the whole day and then try to create your own p3p header.

But my advice is to take the p3p header from some other site (like msn.com).
They are ignored anyway. Just a presence of it matters.

What the heck. Take mine
Response.AddHea der("P3P", "CP=\"NON DSP COR CUR OUR IND INT\"")
Each page that plants third party cookies must send P3P in a header to
browser. So you will need to add that code to each page (I love inheritance)

George.

"bruce barker" <nos...@nospam. comwrote in message

news:ua******** ******@TK2MSFTN GP04.phx.gbl...
this is know as a third party cookie. as it is most commonly used for ad
tracking, many browser/security add-ins block them. IE 7.0 will do this by
default if the site does not provide compact privacy policies(p3p):
article on deploying a p3p:
http://msdn2.microsoft.com/en-us/library/ms537341.aspx
-- bruce (sqlwork.com)
insomniac wrote:
Hello,
I'm not a newbie to cookies, however I am stumpped by a receent issue
that has come up. I am running my web application through a frame
that belongs to another company. This application is much like an
Ariba Punhout application.
I am persisting cookies when the user first enters our application
within the frame, however when I redirect to another page, the cookies
are gone. I have tried setting the domain on the cookie and the
expiration is set at 30 days. I can only assume there is an issue
because of the frame.
Anyone have any pointers or thoughts? I am at a loss.- Hide quoted text -

- Show quoted text -
Bruce - you are the man. I searched the newsgroups long and hard for
that answer but came up empty. I tried your response and sure enough
- it works.

Many Thanks

Jun 19 '07 #4

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

Similar topics

9
3331
by: Larry Woods | last post by:
I have a site that works fine for days, then suddenly, I start getting ASP 0115 errors with an indication that session variables IN SEPARATE SESSIONS have disappeared! First, for background information, I have a customized 500-100 page that sends the value of various session variables via email to my support site. The situation: On the home page of the site, the FIRST THING that is done is a Session
1
1897
by: richard | last post by:
My website uses cookies to persist a certain amount of data on the client. However, occasionally the cookies will disappear or be set to an empty string for no discernable reason. It does not happen in our development environment at all, but does happen in our production environment. We looked at all the likely settings and they were identical on both the production and live servers. We set the cookie domain properly and the cookie path....
2
2607
by: Rachel Suddeth | last post by:
Here is my scenario: I have a few custom controls that I set up on a form and tested setting properties and appearances. Then I added a couple references to the project which add classes I need to get data from the server to actually do something useful. (These are generated by 3rd party database software.) After adding those references, and no other changes to my form.... all the controls disappear from the visual interface on the...
2
3485
by: Raterus | last post by:
Howdy, I have one IIS Application, with asp/asp.net pages. I set a cookie like so in an ASP page. Response.Cookies("AuthCookie")("hash") = md5(username & Application("HashCode")) Response.Cookies("AuthCookie")("username") = username Then I response.redirect to my asp.net page, which is protected by Forms Authentication, so Application_AuthenticateRequest Fires..and I try to access this cookie like so.. Dim authCookie As HttpCookie =...
0
2207
by: Mach Runner | last post by:
I am implementing a secure website using the ASP.NET FormsAuthentication model. I have taken the simplest code examples from MSDN (login.aspx,default.aspx, web.config) but cannot get proper behavior on my machine. As an unauthenticated user, I navigate to the website http://localhost/XXX. global.Authenticate_Request considers sending default.apsx but cannot find any authentication cookie in the Context object, so the request is...
2
1587
by: | last post by:
While I was learning about baking cookies in ASP.NET, I also ran across this interesting article that outlined a few bombs to watch out for when using cookies in ASP.NET: http://www.codeproject.com/aspnet/aspnetcookies.asp The "disappearing cookie" syndrome that the author describes seems problematic: <quote> If you try to access a cookie that doesn't exist in the
2
1608
by: rb | last post by:
Hi, This is a very silly (and newbie) question but... I started a new site; added on default.aspx a text box and a button. On Button Click, I do this: HttpCookie cookie; cookie = new HttpCookie( "test", TextBox1.Text ); cookie.Expires.AddDays( 365 ); cookie.Domain = "localhost";
0
3438
by: =?Utf-8?B?Q2hhcmxlcw==?= | last post by:
Like many people, I normally use Yahoo! Mail via the web and like to keep all my emails stored on the Yahoo! server. However sometimes I can’t get access to a PC/the web and I download my emails to a PDA/palmtop via POP3. The PDA uses Windows Mobile software. Since using the PDA, I have had the problem of emails disappearing from the Yahoo! server. However I think I now understand how to avoid this. It seems that Windows Mobile is...
1
2046
by: =?Utf-8?B?RGF2ZXkgUA==?= | last post by:
I have a classic ASP page which links through to an ASP.NET 1.1 page. Basically there is a hyperlink on the classic ASP page that opens the ASP.NET page in the same window. I can then go back to my classic ASP page by clicking on a link on the ASP.NET page. It all seems to work seamlessly, apart from 1 end user. What they find is that if they click on the link and open up the ASP.NET page, then go back to the classic ASP page, all the...
0
9456
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9275
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10034
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9872
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8713
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7248
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6534
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5142
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3358
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.