I may have answered my own question, at least partially...
I ended up editing the ErrorPage.aspx file to include the text between the </form> and </body> tags:
</form>
<script runat="server">
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Response.Redirect("~/Default.aspx", true)
End Sub
</script>
</body>
This works, it redirects me back to the site home page but I am a bit concerned about sending the browser into an infinite redirect.
I tried this code:
Protected Overrides Sub OnInit(e As EventArgs)
If Session("ErrorPage").ToString() Is Nothing Then
Session("ErrorPage") = "1"
Response.Redirect("~Default.aspx", True)
ElseIf Convert.ToInt32(CType(Session("ErrorPage"), String)) < 4 Then
Session("ErrorPage") = CType(Convert.ToInt32(CType(Session("ErrorPage"), String)) + 1, String)
Response.Redirect("~Default.aspx", True)
Else
Response.Write("too many errors")
End If
End Sub
(VB is not my strongest language, any pointers are welcome)
But I get an error about "Session state can only be used when enableSessionState is set to true..."
Any insight or suggestions are welcome.
I also read a new post here:
http://www.dotnetnuke.com/Resources/F... that says as long as 5.6.1 passes QA it will be released next week, anyone aware if this will include a fix for this particular bug?
Thanks again!
Josh