We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Integrated Login with IF
Topic Started: Aug 23 2005, 03:13 PM (598 Views)
Dennis
Member Avatar
Member
[ *  *  *  *  *  *  * ]
I know that the next version of IF will have a SDK included, but is there a way to use cookies set by the forum on a website so that I can have an integrated Login?

Thanks.
Offline Profile Quote Post Goto Top
 
Gornakle
Member Avatar
Member
[ *  *  *  *  * ]
You could use JavaScript. It wouldn't be as fast and clean as PHP, but it's possible, using an XMLHttpRequest for example.
Offline Profile Quote Post Goto Top
 
Massacre
Member Avatar
Member
[ *  *  *  * ]
Dennis
August 23, 2005 02:13 PM
I know that the next version of IF will have a SDK included,

Whats SDK?
Offline Profile Quote Post Goto Top
 
Seth
Member Avatar
I has a pony
[ *  *  *  *  *  *  *  *  * ]
Software Development Kit
Offline Profile Quote Post Goto Top
 
Dennis
Member Avatar
Member
[ *  *  *  *  *  *  * ]
Gornakle
August 23, 2005 03:47 PM
You could use JavaScript. It wouldn't be as fast and clean as PHP, but it's possible, using an XMLHttpRequest for example.

Thanks Gorn. How would I go about doing that? Just a starting point would be fine. :)

Thanks.
Offline Profile Quote Post Goto Top
 
Gornakle
Member Avatar
Member
[ *  *  *  *  * ]
Oh.. wait, I just realized you can't request pages from sites other than the site the script is being run on. So mysite.com wouldn't be able to request pages from invisionfree.com (to prevent cross-site scripting.. which is, unfortunately, what we need). >_<

PHP would work, using file_get_contents() for example, but it would always show up as guest. Hm. Sorry, I'm out of ideas. Suddenly not sure if it's possible at all anymore.
Offline Profile Quote Post Goto Top
 
Massacre
Member Avatar
Member
[ *  *  *  * ]
Seth
August 23, 2005 05:39 PM
Software Development Kit

Ahhh cool. Thanks.
Offline Profile Quote Post Goto Top
 
solinent
Member Avatar
Member
[ *  *  * ]
Actually its REALLY easy....

It's gonna be REAL messy, but why not set cookies with Javascript depending on GET and POST data?
Offline Profile Quote Post Goto Top
 
Gornakle
Member Avatar
Member
[ *  *  *  *  * ]
You can't access cookies set on a different server.
Offline Profile Quote Post Goto Top
 
Nemesis
+o0 1337 |=0|- j00
[ *  *  *  * ]
Are you guys referring to Sun's Java SDK?
Offline Profile Quote Post Goto Top
 
Seth
Member Avatar
I has a pony
[ *  *  *  *  *  *  *  *  * ]
No :ermm:
Offline Profile Quote Post Goto Top
 
solinent
Member Avatar
Member
[ *  *  * ]
No set a cookies when the user logs out and in. Sessions could be provided with expiration cookies. Also, IF should set it that you can set multiple domain cookies. You can make it so that cookies will work on two different domains, I'm almost positive aboout this one.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Technology Chat · Next Topic »
Add Reply