Solved

set cookies in a php site and read them in an asp site

Posted on 2014-12-20
2
111 Views
Last Modified: 2014-12-20
If cookies are stored in the user's PC how can I set a cookie when he is visting

myphpsite.com

then when he visitis

myaspsite.com

retrieve the cookie

Thx
0
Comment
Question by:robrodp
2 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40510822
Cookies are per site - siteA.com cannot read siteB.com's cookie for security reasons.
To pass the data to siteB from siteA you would need to visit siteA, get the cookie data and pass it onto siteB in the url for example.
0
 

Author Closing Comment

by:robrodp
ID: 40510828
Thats  what I am doing. I was just confirming that this cross sites issue was not viable.

Thx for the prompt response
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to fix Datetime in MySQL? 4 51
Log in through ID 5 19
Could you point a way to eliminate an array unexpected element? 8 25
MS SQL + date 6 23
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question