11/18/2013 2:31:28 AM
RE:Redirect to Home Page if requested page is not published
You are right. The 404 handling must be done by server transfer and in this case the session is not transferred. The easiest solution is make one extra redirection, so please create other 404 page and place for instance the Random redirection web part on the default 404 page with one target url (the new 404 page). Or you can redirect to the same page, but you need to handle the endless loop.