By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,727 Members | 768 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,727 IT Pros & Developers. It's quick & easy.

Automatic sign-up and sign-in between different domains without cookies?

P: n/a
I'm trying to find a website that does the following:
1. Signs you up to a second site under a different primary domain (i.e.
as a result of a checkout or something). The username and password may
be automatically generated.
2. Signs on for you and redirects you to the second site without the
need of you signing up or signing in

I can't find an example of such a site. Do you know any?

Thanks,
Jimmy

Nov 19 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
its possible using cURL, then parsing email using a script, then using
cURL again to sonfirm the sign-up,
the actual process of signing-in to this newly signed-up for service
coul then be acomplished using
a) the API for that service (the way meebo does it)
b) a proxy script, (that handles the cookies for the servie you are now
newly signed-up for)

not much to do with javascript, because the "no-cookies" specification
means that you will have to handle all that logic on the serverside
script.

Nov 19 '06 #2

P: n/a
Thatks Shimmyshack!

Do you actually know any web site that does ALL the above?

shimmyshack wrote:
its possible using cURL, then parsing email using a script, then using
cURL again to sonfirm the sign-up,
the actual process of signing-in to this newly signed-up for service
coul then be acomplished using
a) the API for that service (the way meebo does it)
b) a proxy script, (that handles the cookies for the servie you are now
newly signed-up for)

not much to do with javascript, because the "no-cookies" specification
means that you will have to handle all that logic on the serverside
script.
Nov 20 '06 #3

P: n/a
Do you actually know any web site that does ALL the above?
sadly I don't, probably because it would be open to so much abuse, but
it wouldnt be toooo hard to code yourself if you have time, and a
specific need site in question.

There are many sites which use captchas to try to prevent automated
sign-up, so any site that offers sign-up/on by proxy will probably be
using a legal API to the third party site.

You however if you had one particular site in question could cludge
together some php so sign-up/on in an hour or so. cURL hangles cookies
(the manual pages show how easy it is) as well as SSL connections.
Storing the cookies means you can continue to access the site while
filling the sign-up form out and posting it. Provided the target site
is predictable - and doesnt throw up a random captcha - you then just
have to open a mailbox using pop, - or even easier if you have
redirected the sign-up email to a "no-hassle" free email service like
mailinator - you just goto the mailinator URL and parse the resulting
html for an embedded URL in the email body and then use it to
authenticate. You job is almost done then, and the lsat remaining piece
is to follow the redirect, saving the cookies using cURL and then you
can simply parse the resulting page, base64 encpding the urls in the
css/js and html pushing them through another cookieless domain, phproxy
does this fairly well, modding the code would give you better css
support.
sorry not to give you the answer you wanted, but I just dont know of
any site which offers this "as a service"

take care, m

Nov 20 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.