Make session cookie last for two weeks to work around iOS bug
Make session cookie last for two weeks to work around iOS bug

Mobile Safari has a tendency to use cached form values even when the
cache control headers tell it otherwise. However the session cookie
has expired so when the form is submitted the CSRF token is invalid.

See rails/rails#21948 for further details.

Fixes #451.

oskarpearson/e-petitions,alphagov/e-petitions,joelanman/e-petitions,StatesOfJersey/e-petitions,StatesOfJersey/e-petitions,oskarpearson/e-petitions,alphagov/e-petitions,joelanman/e-petitions,alphagov/e-petitions,unboxed/e-petitions,unboxed/e-petitions,unboxed/e-petitions,alphagov/e-petitions,StatesOfJersey/e-petitions,StatesOfJersey/e-petitions,unboxed/e-petitions,joelanman/e-petitions,oskarpearson/e-petitions