Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Intergrating with another application

edited June 2009 in Vanilla 1.0 Help
Came across Vanilla a week or so ago looking for a fourm application. It fits very well. And the add-ons make it easy. Even managed to integrate sign-in from another application we're running. The apporach was the one outlined in Prashant's blog (http://web.archive.org/web/20080117142956/http://prashantrajan.com/blog/2007/05/03/integrating-the-vanilla-forum-into-a-php-application/) where cookies are set in the other application and the people.php page disabled to prevent users signing on directly to Vanilla So users signing in to the other application are automatically signedin to Vanilla. That part is working very well. But... I just can't get sign-off to work. The system appears to be taking no notice at all of my attempts to unset the cookies using: setcookie("lussumocookieone", "", time() -42000, "/", ".mydomain.com"); setcookie("lussumocookietwo", "", time() -42000, "/", ".mydomain.com"); (Of course our real domain has been substituted for mydomain.com) The Vanilla pages remain stubbornly accessible unless the browser is closed. Is there anything else that needs to be done to get signoff to sign off?

Comments

  • Oh...one more thing... We've been unable to simply return from the Vanilla forum pages to the initiating application. This other application uses session variables to maintain track of whose logged in (no cookies used at all). On other web pages we've developed we've just maintained login by issuing a sesion_start on the new page - where would we put that in Vanilla?
Sign In or Register to comment.