bu nesnelerin ne işe yaradığını biliyorum ama nasıl kullanacağım hakkında hiçbir fikrim yok, bana yardımcı olabilecek arkadaşlar var mı acaba, nereye yazılır, global.asa nın içine neler yazılır, nasıl kullanılır, yardımcı olacaklara şimdiden teşekkürler
global.asa derken global.asax dosyasını ima ediyorsan global.asax şu işe yarar yaptığın sitede bi uygulama başlarken, kapanırken ve hata verdiğinde veya oturum açılıp kapandığında neler olacağını yazarsın o dosyanın içine
dosyanın içindede yazıo zaten
<script>
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) ' Code that runs on application startup {uygulama başlarken hangi işlemler gerçekleşecek} End Sub Sub Application_End(ByVal sender As Object, ByVal e As EventArgs) ' Code that runs on application shutdown{uygulama kapanırken hangi işlemler gerçekleşecek} End Sub
Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs) ' Code that runs when an unhandled error occurs{uygulama hata verdiğinde hangi işlemler gerçekleşecek} End Sub
Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs) ' Code that runs when a new session is started{yeni oturum başladığında hangi işlemler gerçekleşecek} End Sub
Sub Session_End(ByVal sender As Object, ByVal e As EventArgs) ' Code that runs when a session ends. {oturum kapandığında hangi işlemler gerçekleşecek} ' Note: The Session_End event is raised only when the sessionstate mode ' is set to InProc in the Web.config file. If session mode is set to StateServer ' or SQLServer, the event is not raised. End Sub
</script>
< Bu mesaj bu kişi tarafından değiştirildi poweruser0 -- 6 Ocak 2007; 19:35:57 >
dosyanın içindede yazıo zaten
<script>
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs on application startup {uygulama başlarken hangi işlemler gerçekleşecek}
End Sub
Sub Application_End(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs on application shutdown{uygulama kapanırken hangi işlemler gerçekleşecek}
End Sub
Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs when an unhandled error occurs{uygulama hata verdiğinde hangi işlemler gerçekleşecek}
End Sub
Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs when a new session is started{yeni oturum başladığında hangi işlemler gerçekleşecek}
End Sub
Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs when a session ends. {oturum kapandığında hangi işlemler gerçekleşecek}
' Note: The Session_End event is raised only when the sessionstate mode
' is set to InProc in the Web.config file. If session mode is set to StateServer
' or SQLServer, the event is not raised.
End Sub
</script>
< Bu mesaj bu kişi tarafından değiştirildi poweruser0 -- 6 Ocak 2007; 19:35:57 >