İbrahim TELCİ Posted October 19, 2021 Share Posted October 19, 2021 TUniServerModule.UniGUIServerModuleException olayında bir hata yakalanır ise hata olan oturumun sayfasını yenilemek istiyorum. Uniapplication.Restart komutu bu işe yarıyor yalnız bunu ServerModule üzerinden kullanamadım. Nasıl yaparım. Bilgi verir iseniz sevinirim. Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted October 19, 2021 Share Posted October 19, 2021 1 hour ago, İbrahim TELCİ said: TUniServerModule.UniGUIServerModuleException olayında bir hata yakalanır ise hata olan oturumun sayfasını yenilemek istiyorum. Uniapplication.Restart komutu bu işe yarıyor yalnız bunu ServerModule üzerinden kullanamadım. Nasıl yaparım. Bilgi verir iseniz sevinirim. Merhaba CustomException demosunu inceleyebilirsiniz. C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\CustomException (sender as TUniMainModule).Terminate; yapabilirsiniz. Quote Link to comment Share on other sites More sharing options...
İbrahim TELCİ Posted October 20, 2021 Author Share Posted October 20, 2021 21 hours ago, Hayri ASLAN said: Merhaba CustomException demosunu inceleyebilirsiniz. C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\CustomException (sender as TUniMainModule).Terminate; yapabilirsiniz. Yanıtınız için teşekkür ederim. Zaten söylediğiniz demo uygulama üzerinden çalışıyorum. Terminate ettiğim zaman sayfa sonlanıyor. Ben sayfayı yeniden başlatmak istiyorum. Bu konu ile alakalı bir çözüm öneriniz var mı? Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted October 20, 2021 Share Posted October 20, 2021 11 minutes ago, İbrahim TELCİ said: Yanıtınız için teşekkür ederim. Zaten söylediğiniz demo uygulama üzerinden çalışıyorum. Terminate ettiğim zaman sayfa sonlanıyor. Ben sayfayı yeniden başlatmak istiyorum. Bu konu ile alakalı bir çözüm öneriniz var mı? Merhaba ServerModule.ServerMessages.TerminateTemplate i asagidaki gibi degistirebilirsiniz. <html> <meta http-equiv="refresh" content="0;url=[###url###]" /> </html> Quote Link to comment Share on other sites More sharing options...
İbrahim TELCİ Posted October 21, 2021 Author Share Posted October 21, 2021 Teşekkür ederim. İstediğim tam olarak buydu. İyi çalışmalar dilerim. 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.