Skip to content

hapi handler to allow static contents to set cookies by passing them as form fields. Use it as a pre handler on top of the actual static content.

License

Notifications You must be signed in to change notification settings

distalog/cookie-param-handler

Repository files navigation

cookie-param-handler

hapi handler to allow static contents to set cookies by passing them as form fields.

Use it as a pre handler on top of the actual static content.

See code in the example directory for usage.

Used by cookie-css for instance.

Security

Be aware that this handler allows setting arbitrary cookies: consider putting it behind authentication.

About

hapi handler to allow static contents to set cookies by passing them as form fields. Use it as a pre handler on top of the actual static content.

Topics

Resources

License

Stars

Watchers

Forks

Packages