I have a website and I,m using a an application theme that consists of a skin and a cascading style sheet and I have vriety of master pages and it works fine.
I use in my site a log in with session so I create a global file ( global.asax ). Inside this global file I check for log in by the following function:
Sub CheckLoggedIn()
'If the user is not logged in and you are not currently on the Login Page.
If (Session("id") = "" And Session("pass") = "" And InStr(Request.RawUrl, "Default.aspx") = 0) Then
Response.Redirect("Default.aspx")
End If
End Sub
If I remove this function all pictures and the theme are displayed normally
but once I add this function all the pictures in my site's theme disapeared!!
what is wrong with this function? Is it not correct??
can any one help am l missing something? please try to help me as soon as you can because I have to submit this site in 1 week
NOTE: I'm using the local host server and mysql with asp.net and vb.net.