| 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: |
| Integrated Login with IF | |
|---|---|
| Tweet Topic Started: Aug 23 2005, 03:13 PM (598 Views) | |
| Dennis | Aug 23 2005, 03:13 PM Post #1 |
|
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. |
![]() |
|
| Gornakle | Aug 23 2005, 03:47 PM Post #2 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You could use JavaScript. It wouldn't be as fast and clean as PHP, but it's possible, using an XMLHttpRequest for example. |
![]() |
|
| Massacre | Aug 23 2005, 06:20 PM Post #3 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Whats SDK? |
![]() |
|
| Seth | Aug 23 2005, 06:39 PM Post #4 |
|
I has a pony
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Software Development Kit |
![]() |
|
| Dennis | Aug 24 2005, 08:40 AM Post #5 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Thanks Gorn. How would I go about doing that? Just a starting point would be fine. ![]() Thanks. |
![]() |
|
| Gornakle | Aug 24 2005, 09:15 AM Post #6 |
|
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. |
![]() |
|
| Massacre | Aug 24 2005, 01:24 PM Post #7 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Ahhh cool. Thanks. |
![]() |
|
| solinent | Aug 24 2005, 01:32 PM Post #8 |
![]()
Member
![]() ![]() ![]() ![]() ![]()
|
Actually its REALLY easy.... It's gonna be REAL messy, but why not set cookies with Javascript depending on GET and POST data? |
![]() |
|
| Gornakle | Aug 24 2005, 02:36 PM Post #9 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You can't access cookies set on a different server. |
![]() |
|
| Nemesis | Aug 24 2005, 05:56 PM Post #10 |
|
+o0 1337 |=0|- j00
![]() ![]() ![]() ![]() ![]() ![]()
|
Are you guys referring to Sun's Java SDK? |
![]() |
|
| Seth | Aug 24 2005, 05:57 PM Post #11 |
|
I has a pony
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
No
|
![]() |
|
| solinent | Aug 25 2005, 08:29 PM Post #12 |
![]()
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. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Technology Chat · Next Topic » |
| Track Topic · E-mail Topic |
10:12 AM Jul 11
|



![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)





10:12 AM Jul 11