473,783 Members | 2,545 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

reading third party cookies

85 New Member
How is it possible to read the third party cookies if u have a valid p3p policy set in place

I have a server side application that sets the third party cookie and whenever the client visit any site with my js file attached to it, i want to read the values of my third party cookie

Is it possible to read it from client side as my server side can read the value of this third party cookie
Sep 21 '07 #1
5 6541
acoder
16,027 Recognized Expert Moderator MVP
Use Ajax for this.
Sep 21 '07 #2
rohitchawla
85 New Member
well, is there a way i can just read the value of cookie from document.cookie or any similar approach and not ask server side to fetch the values of cookies
Sep 21 '07 #3
rnd me
427 Recognized Expert Contributor
well, is there a way i can just read the value of cookie from document.cookie or any similar approach and not ask server side to fetch the values of cookies
.js files don't get cookies, no directly the answer is no.
javascript can only view cookies in the page url's domain.
your server cookies are only available when the page comes from you,
they are not attachments that follow the document's scripts.

one thing you might try playing with is using your .js file to always add an invisible iframe to the page. pointing the iframe to your server, the script could read any cookies you previously wrote. in this way, you could report back to your server whenever someone used your script file, but i am not sure if this helps you out.
Sep 21 '07 #4
acoder
16,027 Recognized Expert Moderator MVP
well, is there a way i can just read the value of cookie from document.cookie or any similar approach and not ask server side to fetch the values of cookies
I doubt it. It's not too difficult getting values from a server-side script and the delay is minimal.
Sep 21 '07 #5
rohitchawla
85 New Member
ok thanks
now ill try working with ajax
Sep 24 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1942
by: Donald Canton | last post by:
Hi, I just changed my browser settings to override automatic cookie handling and block all third party cookies. Now I'm curious. How are third party cookies allowed in the first place? I thought only the domain of the web site visited could store and retrieve cookies? -dc
0
1109
by: Gautam | last post by:
I am using a third party tab strip, on click of different tabs the url takes the user to different sections of another application which is running on linux. But when i try to login it asks the user to anable cookie, which is not the case when i try to open that application in a seperate application. Please give suggestion how to avoid "enable cookies" message.
3
2000
by: Beryl Small | last post by:
Hi, I have a third party software that needs to send information to an .aspx page for processing to communicate with an SQL database. The software sends the information something like this: Mypage.aspx?Password=Mypassword When this request hits the page, I need to pull that variable Mypassword to use in my VB function to query the database. I'm confused on how to get it. I tried using
1
2355
by: Chris | last post by:
Does anyone have any documentation on compact privacy policy and asp.net session or http session cookies. I have a third party app that relies on a session cookie to maintain the state of my app in a users site. Currently my P3P policy is causing IE6 to reject my third party session cookie. I have my P3P working and do not collect personal info, add headers
6
1936
by: Ben Finney | last post by:
Howdy all, I'm improving an existing application that's partly written using Python and the standard library. Many of the improvements I want to make can be done by using third-party free software. The immediate customer for this application is happy to install Python on their machine, but I'd like to remove the hassle of asking them to continually install new versions of great third-party Python software that isn't packaged for their...
4
5514
by: m11533 | last post by:
I am developing a large application with Visual Studio .NET 2003 using C#. We recently added a new third party product with a native .NET library. I want to place this third party product's dll in a VS Project of its own, and then reference that project from those c# projects in my solution that are dependent on the third party product. I created a c# class library project, ThirdPartyDll. Placed the dll file in question into that...
1
2183
by: amit | last post by:
Hi all, I'm totally new to 3rd party cookies! 1)would one please tell me what they are? 2)how to make IE to detect them? 3)how can I trick IE or FF not to see them? (if possible!)
4
2136
by: Khafancoder | last post by:
Hi guys, we are developing a webapplication which let user create their own virtual website on their real domain. in other word, users could create their virtual web-sites by this application and app will recognize each website by its domain. we needed a passport system (like .Net Passport) to identify users in all of these virtual web-sites (& various domains)
3
5814
by: ramesh.nrk | last post by:
Hi, Is there any way to read the cookies which are in local machine? Can we create cookies using windows Application in the local machine? I am developing a windows application which needs to Read the available cookies in the Local Machine, and it has to create cookies in the Local Machine.
0
9643
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
9480
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
10315
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
10147
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...
1
10083
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7494
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
6737
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();...
1
4044
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3645
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.