My project uses a master page containing a link to a global js file.
<script language="javascript" type="text/javascript" src="Scripts/myJScript.js" />
The above code is in the head section of the master page.
The js file contains a couple of simple functions to change the backcolor of the textboxes when they get or lose focus.
The entry point for the project is default.aspx which contains the following in the page load.
If Not User.Identity.IsAuthenticated Then
Server.Transfer("Account\Login.aspx")
End If
Response.Redirect("TipBaseInfo.aspx")
Note, if the user is not logged in, he is directed immediately to the login page. Under this condition everything works fine and the textboxes on the login page do see the js functions and change color appropriately. However, if the IF statement is removed
and the user goes first ...
Go to the complete details ...