Body: <p>I've got multiple sites running on XAMPP (I'm on Windows 10). Each has its own domain (eg. <code>dev.example.local</code>, <code>dev.otherexample.local</code>, etc).</p>
  <p>When I try to have more than one site CP page open in the same browser, I tend to randomly encounter session timeout modal windows.</p>
  <p>Craft 2 had the <code>overridePhpSessionLocation</code> which I suspect might help, but I can't find the equivalent in Craft 3.</p>
  <p>Any suggestions?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-07-02T13:41:16.667Z
Comments.Text: Would `phpSessionName` help? Docs - https://docs.craftcms.com/v3/config/config-settings.html#phpsessionname
Comments.UserDisplayName: Oli
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-07-02T14:47:52.480Z
Comments.Text: I don't see how, unfortunately. Craft's session cookies appear to be properly scoped to the domain & subdomain.
Comments.UserDisplayName: Sandwich
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-07-02T16:43:06.797Z
Comments.Text: The replacement for `overridePhpSessionLocation` is to set https://www.php.net/manual/en/function.session-save-path.php directly in your php.ini file.
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-07-19T10:01:10.697Z
Comments.Text: So turns out my PHP sessions are getting saved to `c:\xampp\tmp\`. It looks like they're all there, valid and writable and whatnot. No clue why I get logged-out of the Craft backend locally so much.
Comments.UserDisplayName: Sandwich
Tags: <control-panel><session>
Title: Multiple (dev) sites running locally; session seemingly randomly times out
ThreadText: # Multiple (dev) sites running locally; session seemingly randomly times out
  
  (Asked by: username_0 on 2020-07-02)
  
  I've got multiple sites running on XAMPP (I'm on Windows 10). Each has its own domain (eg. `dev.example.local`, `dev.otherexample.local`, etc).
  
  When I try to have more than one site CP page open in the same browser, I tend to randomly encounter session timeout modal windows.
  
  Craft 2 had the `overridePhpSessionLocation` which I suspect might help, but I can't find the equivalent in Craft 3.
  
  Any suggestions?
  
  **Tags:** control-panel, session
  
  > **Comments:**
  > **username_1**: Would `phpSessionName` help? Docs - https://docs.craftcms.com/v3/config/config-settings.html#phpsessionname  
  > **username_0**: I don't see how, unfortunately. Craft's session cookies appear to be properly scoped to the domain & subdomain.  
  > **username_2**: The replacement for `overridePhpSessionLocation` is to set https://www.php.net/manual/en/function.session-save-path.php directly in your php.ini file.  
  > **username_0**: So turns out my PHP sessions are getting saved to `c:\xampp\tmp\`. It looks like they're all there, valid and writable and whatnot. No clue why I get logged-out of the Craft backend locally so much.  
  
  ---
  
  ## 0 answers
  
  