Quantcast
Channel: Kentico CMS for ASP.NET - DevNet - Forums - Version 7.x - API
Viewing all articles
Browse latest Browse all 660

RE:Redirect to Home Page if requested page is not published

$
0
0
anshuman.shandilya-aonhewitt
Hi Jan,

Thanks for the solution. I changed that setting and I see home page. But somehow HttpContext.Current.Session becomes null in this case. One on the control on Home Page is using data stored in session which is not rendering right in this case.
Do you know if HttpContext.Current.Session becomes null if page is not found in Kentico?

Thanks
Anshuman

Viewing all articles
Browse latest Browse all 660

Latest Images

Trending Articles



Latest Images