Pages still visible after Stop Publish date.

Vote:
 

Ran across an installation we support where in production when someone tries to access a page after the stop publish date they are prompted to log in, but on test the same scenario shows the page to the user.  I wasn't sure which was correct behavior since in both cases the page does have a published status so I created a demo site, set a page to expire, and on the demo site I was able to access the expired page without issue as well.

Is there a likely configuration issue?

Which behavior is correct?

Its an easy enough problem to solve by checking stop publish in the base page and redirecting if thats the case, but it seems like that should not be necessary.

#54782
Nov 02, 2011 15:34
Vote:
 

Hi

The behavior is dependant on access rights. In order to see a page where the stop published date is passed, you need to be logged on as a user with at least edit access to that page. If you are not logged in and try to access such a page, the login screen is expected.

Regards

Per Gunsarfs
EPiServer Development Team

#54784
Nov 02, 2011 17:12
Vote:
 

Same thing here.

Is there quick-fix configuration so hidden pages are redirected to "Page Not Found" error page instead of login page ?

#57907
Apr 03, 2012 11:02
Vote:
 

Nice solution, thanks

#57918
Apr 03, 2012 13:21
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.