PDA

View Full Version : html to asp migration


johnmccracken
05-25-2006, 09:17 AM
I have an html website which I need to migrate to asp in order to protect all the pages via a login. In each of my html pages i need to insert the following code :






<%
If Session("userGood") = False or IsNull(Session("userGood")) = True then
Response.Redirect"default.asp"
End If
%>

Is there an easy way with dreamweaver which I can apply this without manually opeing each page and editing ? For example can I apply this via a template ?

Thanks in adcance.

johnmccracken
05-26-2006, 09:26 PM
or is it possible to define a tag and apply this to all my pages ?