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.

Help passing extra parameters

edited October 2008 in Vanilla 1.0 Help
Hi - I'm trying to pass some extra state parameters across pages, but I can't do it using session cookies because of the environment I'm running under. Can anyone point me in the right direction for doing this?

Thanks

Comments

  • Maybe I'm not in the right direction, but I read somewhere about the PassThruVars array (in the Context object, if I remember well), anyway when I tried, I couldn't get it working.

    Maybe you're more lucky / savvy to work with it.
  • I think that PassThruVars is only meant to send vars between different parts of the code, but for a single request only. I think that you'll have to use the database or create a file to store your additional info.
  • thanks for the feedback!
  • If it is one user, you can use session, like $_SESSION['foo'] = 'bar';
This discussion has been closed.