Solved

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

Posted on 2014-12-20
2
108 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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
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…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now