Session Expired, Please Re-login!

When redirecting from access gateway application showing Session Expired, Please Re-login!.Disabled protected resources and tried but showing Session Expired, Please Re-login!

When we directly call the url it is displaying correct page.