Hi,

I created some pages but these pages also open able after log out so, I would like to create pages which is not access able after log out. I have two options in my mind:

one is that create my own session variable with value true at start of that page from which the page link is available and on log out that session variable value become false but I don't know how to write my own code on log-out event. Can any one tell me about it?

2nd is that, that page should create with in the drupal session and if user not log in that drupal variable check before page display. I can check that variable and use customizely for my own but I don't know which varaible should I use for this purpose. can any one please tell if their is any posibility?

Thanks

Comments

kamran-1’s picture

I shall very grateful if any one help me out in this regard