Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Authentication: cookies, and sessions. please help
ddumont
✭✭
Can someone explain what the Vanilla-Volatile cookie is for?
Also, is there a way with Vanilla 2+ to include the Garden session classes so that I can check for valid sessions and stuff from php files not served up by garden?
Alternatively, is there a way to make a plugin/page in garden not print out any garden markup? I'm interested in using garden for access control, authentication, and session checking but I don't want it to format anything (data call).
Also, is there a way with Vanilla 2+ to include the Garden session classes so that I can check for valid sessions and stuff from php files not served up by garden?
Alternatively, is there a way to make a plugin/page in garden not print out any garden markup? I'm interested in using garden for access control, authentication, and session checking but I don't want it to format anything (data call).
There was an error rendering this rich post.
0
Comments
Can you comment at all on any of this?
There was an error rendering this rich post.
There are several response types available in Garden. I assume you're looking for DeliveryMethod=JSON or something similar in your post calls.
There was an error rendering this rich post.
There was an error rendering this rich post.
It's probably a little difficult to pull the files our necessary to grab the hash. It looks like you might be able to do the following:
1. Include class.cookieidentity.php.
2. Generate stubs for Gdn::Config() and ArrayValue(). We should actually switch Gdn::Config() to calls to C().
You can easily not have any Garden markup. Just create a controller and echo stuff right in the method. If you want to use a view then set the master page to "none." That master page is in the dashboard application.