Solved

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

Posted on 2014-12-20
2
110 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Wordpress Pagination Function Not working ? 7 31
hasing a url 16 27
php checkbox validation 5 27
JS does not refresh 6 18
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 dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

770 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