<![CDATA[ Admin users can see Resource Browser files but web users cannot - MODX Community Forums]]> https://forums.modx.com/thread/?thread=46432 <![CDATA[Re: Admin users can see Resource Browser files but web users cannot]]> https://forums.modx.com/thread/46432/admin-users-can-see-resource-browser-files-but-web-users-cannot?page=3#dis-post-268477 Chocoholic Aug 18, 2010, 05:42 AM https://forums.modx.com/thread/46432/admin-users-can-see-resource-browser-files-but-web-users-cannot?page=3#dis-post-268477 <![CDATA[Re: Admin users can see Resource Browser files but web users cannot]]> https://forums.modx.com/thread/46432/admin-users-can-see-resource-browser-files-but-web-users-cannot?page=3#dis-post-268476
Despite garbage collection not being set, something is cleaning up the files. Despite setting the timeout to a very long time, people are still having to log in (less often, granted, but still regularly, whereas the old site just accepted them even if they hadn’t viewed the site for a week).

Would I be right in saying that I have to add something to the cookie that’s stored on the user’s computer in order for this to happen? If so, how do I do that?]]>
Chocoholic Aug 14, 2010, 08:56 AM https://forums.modx.com/thread/46432/admin-users-can-see-resource-browser-files-but-web-users-cannot?page=3#dis-post-268476
<![CDATA[Re: Admin users can see Resource Browser files but web users cannot]]> https://forums.modx.com/thread/46432/admin-users-can-see-resource-browser-files-but-web-users-cannot?page=3#dis-post-268475 Chocoholic Aug 01, 2010, 02:47 PM https://forums.modx.com/thread/46432/admin-users-can-see-resource-browser-files-but-web-users-cannot?page=3#dis-post-268475 <![CDATA[Re: Admin users can see Resource Browser files but web users cannot]]> https://forums.modx.com/thread/46432/admin-users-can-see-resource-browser-files-but-web-users-cannot?page=3#dis-post-268474 sottwell Jul 29, 2010, 01:52 PM https://forums.modx.com/thread/46432/admin-users-can-see-resource-browser-files-but-web-users-cannot?page=3#dis-post-268474 <![CDATA[Re: Admin users can see Resource Browser files but web users cannot]]> https://forums.modx.com/thread/46432/admin-users-can-see-resource-browser-files-but-web-users-cannot?page=3#dis-post-268473
session_save_path(realpath(dirname($_SERVER[’DOCUMENT_ROOT’]) . ’/sesstmp’));


I’m going to get one of the other users to check and will let you know for sure. Hopefully this will all prove useful to someone else.]]>
Chocoholic Jul 29, 2010, 01:49 PM https://forums.modx.com/thread/46432/admin-users-can-see-resource-browser-files-but-web-users-cannot?page=3#dis-post-268473
<![CDATA[Re: Admin users can see Resource Browser files but web users cannot]]> https://forums.modx.com/thread/46432/admin-users-can-see-resource-browser-files-but-web-users-cannot?page=3#dis-post-268472
I’ve tried:

/sesstmp
/sesstmp/
./sesstmp
../sesstmp
../../sesstmp

and no joy so far. I’m not sure how I should refer to in php be none of these are working for me.]]>
Chocoholic Jul 29, 2010, 11:58 AM https://forums.modx.com/thread/46432/admin-users-can-see-resource-browser-files-but-web-users-cannot?page=3#dis-post-268472
<![CDATA[Re: Admin users can see Resource Browser files but web users cannot]]> https://forums.modx.com/thread/46432/admin-users-can-see-resource-browser-files-but-web-users-cannot?page=2#dis-post-268471
        session_name($site_sessionname);
        session_save_path('/full/path/to/session/files');
        session_start();

]]>
sottwell Jul 29, 2010, 06:23 AM https://forums.modx.com/thread/46432/admin-users-can-see-resource-browser-files-but-web-users-cannot?page=2#dis-post-268471
<![CDATA[Re: Admin users can see Resource Browser files but web users cannot]]> https://forums.modx.com/thread/46432/admin-users-can-see-resource-browser-files-but-web-users-cannot?page=2#dis-post-268470
So, I removed php.ini and added this just before the StartCMSSession call in manager/includes/config.inc.php

session_save_path("/sesstmp");

...and that didn’t work either. It’s still saying the folder doesn’t exist. Is my syntax wrong? Error message says:
session_start() [function.session-start]: open(/sesstmp/sess_tuvejlj81hrm1tursnaqofqbn3, O_RDWR) failed: No such file or directory (2) in /home8/ecl/public_html/manager/includes/config.inc.php on line 63
]]>
Chocoholic Jul 29, 2010, 05:43 AM https://forums.modx.com/thread/46432/admin-users-can-see-resource-browser-files-but-web-users-cannot?page=2#dis-post-268470
<![CDATA[Re: Admin users can see Resource Browser files but web users cannot]]> https://forums.modx.com/thread/46432/admin-users-can-see-resource-browser-files-but-web-users-cannot?page=2#dis-post-268469 Chocoholic Jul 29, 2010, 04:35 AM https://forums.modx.com/thread/46432/admin-users-can-see-resource-browser-files-but-web-users-cannot?page=2#dis-post-268469 <![CDATA[Re: Admin users can see Resource Browser files but web users cannot]]> https://forums.modx.com/thread/46432/admin-users-can-see-resource-browser-files-but-web-users-cannot?page=2#dis-post-268468 Chocoholic Jul 28, 2010, 10:53 AM https://forums.modx.com/thread/46432/admin-users-can-see-resource-browser-files-but-web-users-cannot?page=2#dis-post-268468