12

I'm looking for something that can be done like this setting in Tomcat:

<Context ... sessionCookiePath="/" > ... </Context>
Kumar
  • 1,023
  • 1
  • 10
  • 23
  • Depends on how you are setting cookies in the first place. How are you currently setting the session cookie? – new name Aug 20 '17 at 12:34
  • I'm not doing anything specific other than extending the max age of the cookie. By default it creates a new session cookie for every context path and I want that to change. – Kumar Aug 20 '17 at 14:09

1 Answers1

-1

You can persist session information in database like Datastore and use Memcache to get the session/user information faster. Take a look at the web application architecture - https://cloud.google.com/solutions/architecture/webapp

Shivam
  • 166
  • 6