/    Sign up×
Community /Pin to ProfileBookmark

Wow, long time since I’ve been here. Sorry to come crawling back for help!

I’m trying to get a remote login using xmlhttp requests. Basically, the idea is to send the username and password data via .send() – this part’s no problem. The problem arises when I get to the response – I’m having trouble receiving the cookie and storing it. Does anyone have any experience with this sort of thing?

Thanks.

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@ricpApr 29.2007 — First: Without seeing an example, it's next to impossible to debug your problem.

Second: Are you sending the username/password as plain text? You might want to look into some form of encryption.
Copy linkTweet thisAlerts:
@NevermoreauthorApr 29.2007 — As always seems to happen, I managed to get it working just after posting the question... Not sure what was wrong, but I don't really care now!

In answer to #2, it's being sent over an SSL connection.
×

Success!

Help @Nevermore 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 6.17,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...