Skip to content
Browse files

Bloquer l'acces au rapport par la barre d'adresse + guide de

l'administrateur termine
  • Loading branch information...
1 parent d9ba512 commit 0a9e5f51c0807402178af9c1ec6b7ad2ff3b8162 @jfcollin jfcollin committed Nov 27, 2012
View
8 contenu/HobbyCartes/HobbyCartes/rapport.aspx.vb
@@ -2,7 +2,13 @@
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
-
+ If Not Session("Admin") Is Nothing Then
+ If Not Boolean.Parse(Session("Admin")) Then
+ Response.Redirect("Accueil.aspx")
+ End If
+ Else
+ Response.Redirect("Accueil.aspx")
+ End If
End Sub
End Class
View
BIN demarche_de_tests.docx
Binary file not shown.
View
BIN guide_administrateur.docx
Binary file not shown.

0 comments on commit 0a9e5f5

Please sign in to comment.
Something went wrong with that request. Please try again.