/    Sign up×
Community /Pin to ProfileBookmark

Accessing functions on a different server.

I have a site that is storing a cookie on users PC’s. The cookie refers to a file that is stored on the web server. The problem I have is that control is passed from the server to a secure site. When that happens, the secure site either needs to delete the file on the unsecure server, or the cookie that references the file. Either will do. The secure and unsecure servers are physically different servers so as far as I know, there is no way to reference them locally. Also, as far as I know, there is no way to delete a cookie from a PC that references a different site. So the only other option is to make a function call to the unsecure site, to a function that deletes the cookie. I don’t know how to do that. Can someone help? Basically, I need to make a call, passing a single parameter, that references the file that needs to be deleted.
Happy Christmas, by the way!

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @SuzanneB spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.26,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...