Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthortaha
    • CommentTimeOct 31st 2007
     # 1
    I have my own sessions and I would like to pass session values into Vanilla.

    ie, when a user log into site, they can click on vanilla message board and not have to log in. The user information login are the same in vanilla user table and the main site login table.

    If anyone can tell me which file I can modify to it would read or be pointed to session file that would be great..

    thank you...
    •  
      CommentAuthorDinoboff
    • CommentTimeOct 31st 2007
     # 2
    There is different example of integration of Vanilla with other application. You should check them out:
    http://lussumo.com/docs/doku.php#external_application_integrations
    • CommentAuthortaha
    • CommentTimeOct 31st 2007
     # 3
    I'm sorry, that helped little. my issue is that I already have a session. How can I use my session and/or just pass session variables to vanilla's session?

    when I use session_start, anywhere I get "A session had already been started - ignoring session_start()".

    any help is appreciated!
    •  
      CommentAuthorDinoboff
    • CommentTimeOct 31st 2007 edited
     # 4
    Oh, I get it:
    if (!session_id()) {
    session_start();
    }
    • CommentAuthortaha
    • CommentTimeOct 31st 2007
     # 5
    I see. here is what I'm doing, maybe you can tell me if its efficient or not.

    session.php is a file that gets login info from login page and such... other pages within site gets info from session.php file... else it will take user to logout page.

    basically i just want instead of a login page, it get user info from session.php. Or the session communicates with session.php page I think it would be the easiest.

    does this make any sense?
    Thanks again!
Add your comments
    Username Password
  • Format comments as