How to create a page that requires login ?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 13 años
Currently is there any way to create a page for public store (from admin section) that will require the user to login first ?

If yes, then how to do that ?
Hace 13 años
I do like this ::

In Page_Load Event check

if(NopContext.Current.User==null)
  Response.Redirect("~/login.aspx")


Simple !!!
Hace 13 años
ketan.pipaliya wrote:
I do like this ::

In Page_Load Event check

if(NopContext.Current.User==null)
  Response.Redirect("~/login.aspx")


Simple !!!


I apologize for the confusion my friend, actually my question was to make sure that is there any feature (in Access Control List) by which we can add public page from the admin section that requires login...But i don't think there's any feature available in admin section...

But, thanks for your reply....i appreciate it...
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.