multimesut Posted June 15, 2017 Share Posted June 15, 2017 Merhaba, Bir kullanıcı oturum açtığında bazı random dosyalar oluşturmam gerekiyor. Oturum kapatılırsada bu dosyaların temizlenmesi gerekiyor. (Kullanıcı çıkış yapmadan exprorer i kapattığında bile) Aşağıdaki komutlardan hangi Path ı kullanmalıyım bu istediğim olayın olması için. Teşekkürler.. UniServerModule.TempFolderURL UniServerModule.LocalCachePath UniServerModule.GlobalCachePath Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 15, 2017 Administrators Share Posted June 15, 2017 UniServerModule.LocalCachePath Quote Link to comment Share on other sites More sharing options...
multimesut Posted June 15, 2017 Author Share Posted June 15, 2017 Teşekkürler #Farshad Mohajeri Quote Link to comment Share on other sites More sharing options...
multimesut Posted June 17, 2017 Author Share Posted June 17, 2017 Projemi "Standalone Server - EXE" olarak derleyip çalıştırdığımda çıkış yapılınca oluşturulan cache klasörü siliniyor. Fakat "ISAPI Module - DLL" olarak derleyip IIS 7 de çalıştırdığımda cache klasörleri silinmiyor. Nedeni ne olabilir. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 17, 2017 Administrators Share Posted June 17, 2017 Projemi "Standalone Server - EXE" olarak derleyip çalıştırdığımda çıkış yapılınca oluşturulan cache klasörü siliniyor. Fakat "ISAPI Module - DLL" olarak derleyip IIS 7 de çalıştırdığımda cache klasörleri silinmiyor. Nedeni ne olabilir. Dosya erişim yetkileri doğru olmayabilir. Dokümanlarda bununla ilgili bir bölüm var. IUSR kullanıcısına yetki vermeniz gerekiyor. Quote Link to comment Share on other sites More sharing options...
multimesut Posted June 19, 2017 Author Share Posted June 19, 2017 Dokümana bakarak tüm ayarlamaları yapmıştım. IUSR kullanıcısınada tam yetki verdim. Zaten klasörleri oluşturuyor yetki sorunu olsa onuda yapmaması gerekirdi. Silmeme olayını anlayamadım. IIS de oturum açıkta kalmıyor. "Current Sessions" 1 olarak gözüküyor. Log dosyasındada bir hata gözükmüyor. Sorun nedir anlayamadım. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 19, 2017 Administrators Share Posted June 19, 2017 Bu dosyalar uniGUI'nin kendi oluşturduğu dosyalar mı? Quote Link to comment Share on other sites More sharing options...
multimesut Posted June 19, 2017 Author Share Posted June 19, 2017 Evet kendi dosyaları. IIS durdurup yeniden başlattığımda tüm dosyaları silmiş oluyor hatta log dosyasında "[TUniServerModule]:Cache Folder Erased. <157> Files deleted." yazıyor. Quote Link to comment Share on other sites More sharing options...
multimesut Posted June 19, 2017 Author Share Posted June 19, 2017 hatta "Projem.dll/server" yapıp server durumuna bakarken sayfayı reflesh yaparsam cache içerisinde yeni klasör oluşuyor bir öncekini silmiyor. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 19, 2017 Administrators Share Posted June 19, 2017 Bunu boş bir projede deneyebilir misiniz? Quote Link to comment Share on other sites More sharing options...
multimesut Posted June 19, 2017 Author Share Posted June 19, 2017 Hiçbir şey eklemeden boş projede denedim. sorun gene aynı. cache klasörünün içinde project1_dll adlı klasör oluşturdu. onun içerisindeki klasörler her reflesh edildiğinde artıyor. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.