Skip to main content

⚠️ Please note that this topic or post has been archived. The information contained here may no longer be accurate or up-to-date. ⚠️

File Directory Path Length for Sessions

Comments

2 comments

  • SFA

    William,

    Did you happen to identify what the maximum possible path length seemed to be?

    I have seen a suggestion that the default is 256 characters but that this value can be adjusted if required. Whether adjusting the Windows 10 value would be a wise thing to do in a wider context I have no idea.

    If is also possible that the (Max_Path) value is nota factor for the problem you experienced in this case.

    0
  • Permanently deleted user

    Well the basedir directory path was certainly less than 256 characters. However the session directory name was quite long. And then you guys create a sub-directory with the same name as the session directory (if like I do I give it a session name that is the same as the session directory). And then in that you give the session databases file the same name. And it was complaining it couldn't find the  cosessiondb (IIRC). So I'm thinking that the total length of the path to the session db (including the file name) before I shortened the session directory name must have been just slightly over 256 characters. So maybe it couldn't create the file and so couldn't find the file. Vicious circle. Anyway, the total length of the path to the sessiondb file, including the file name, is not 216 characters. And it worked. Coming from a Unix/Linux dev background, I never understood this limitation. I suspect it doesn't happen on Macs, being BSD based. Cheers.

    0

Post is closed for comments.