Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 15. Dec 2017, 15:59

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: 5. Sep 2012, 15:55 
Offline

Joined: 5. Sep 2012, 15:48
Posts: 5
hello

i have tiny web gallery running in both Windows/IIS and Linux/apache, and my temporary directories (c:\windows\temp and /var/lib/php5) fill my harddisk with session logs, how can i configure TWG so there won't be any junk in my temporary directories? i have tried disabling the option "Enable session caching of directories and files" as administrator but that doesn't seem to have any effect at all.

tnx
luc


Top
 Profile  
 
PostPosted: 5. Sep 2012, 16:42 
Offline

Joined: 5. Sep 2012, 15:48
Posts: 5
and i forgot to mention mij TWG version, it's 1.8.8
i have already tried editing my_config.php and config.php but i couldn't find an option that disables the session logs

tnx


Top
 Profile  
 
PostPosted: 6. Sep 2012, 14:08 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10573
What is written?
Because TWG has no session log.

Best Michael


Top
 Profile  
 
PostPosted: 6. Sep 2012, 16:20 
Offline

Joined: 5. Sep 2012, 15:48
Posts: 5
hello

files are written with names that start with "sess" , like the file: "sess_p403uhdf1c7f115idvasoi4vv0" , i have no idea what those files are for or what is stored...

tnx


Top
 Profile  
 
PostPosted: 6. Sep 2012, 20:24 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10573
This is the normal php that should be removed by your once it has .

best,


Top
 Profile  
 
PostPosted: 9. Sep 2012, 14:39 
Offline

Joined: 5. Sep 2012, 15:48
Posts: 5
hello

so you say those files are not created by TWG, but by php. but do you or anyone else know how to configure php in a way so those files are not created, because i don't know php that well and i now still have the problem that those files are created (some days more than a thousand) and it fills up my hard drive, so my new question is: does anyone know how to configure php in a way those "sess_" files are not created?

tnx
luc


Top
 Profile  
 
PostPosted: 11. Sep 2012, 14:16 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10573
do you have several thousands users a day in the gallery?

Because one file per active user should exist an deleted after the session timeout by your server.

Best Michael


Top
 Profile  
 
PostPosted: 11. Sep 2012, 16:04 
Offline

Joined: 5. Sep 2012, 15:48
Posts: 5
i have that many visitors, not because of the contents of the site, but because of the name(URL) of the site , and the site is mostly used to test new things and programs, like twg

but every time a person visits the site a "sess_" file is created and then never deleted

i can make a cron-job ( i assume you know what that is) to delete the contents of the temp directory every week or so, but that's a quick and dirty fix and i don't want to resort to that, because that only fixes the symptoms, not the problem

tnx
luc


Top
 Profile  
 
PostPosted: 12. Sep 2012, 14:23 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10573
plese read
http://stackoverflow.com/questions/7652 ... ion-folder

Best Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO