quote:
I want the login.asp page to redirect them to active.asp upon successful login.
Find the following code in login.asp (approx. lines 65-86): if strLoginStatus = 1 then
Response.Write " <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>Login was successful!</font></p>" & vbNewLine
Response.Write " <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href="""
if strTarget = "" then
Response.Write "default.asp"
else
Response.Write strTarget
end if
Response.Write """>Click here to Continue</a></font></p>" & vbNewLine
Response.Write " <meta http-equiv=""Refresh"" content=""2; URL="
if strTarget = "" then
Response.Write "default.asp"
else
Response.Write strTarget
end if
Response.Write """>" & vbNewline & _
" <br />" & vbNewLine
WriteFooter
Response.End
end if
and replace it with the following code: if strLoginStatus = 1 then
Response.Write " <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>Login was successful!</font></p>" & vbNewLine
Response.Write " <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href="""
if strTarget = "" then
Response.Write "active.asp"
else
Response.Write strTarget
end if
Response.Write """>Click here to Continue</a></font></p>" & vbNewLine
Response.Write " <meta http-equiv=""Refresh"" content=""2; URL="
if strTarget = "" then
Response.Write "active.asp"
else
Response.Write strTarget
end if
Response.Write """>" & vbNewline & _
" <br />" & vbNewLine
WriteFooter
Response.End
end if
quote:
I do not want the links that are found in the upper right hand corner to be displayed on the login.asp page.
Find the following code in inc_header.asp (approx. line 289):call sForumNavigation()
and replace it with the following code:
if not Instr(strScriptName,"login.asp") > 0 then
call sForumNavigation()
end if