?
Solved

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

Posted on 2014-12-20
2
Medium Priority
?
114 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 2000 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

WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
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 dynamically set the form action using jQuery.
Suggested Courses

743 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