Hello,
I am learning PHP5. I have a website that consists of two pages: index.php
and summary.php. In index.php the user is automatically moved to
summary.php with some $_SESSION data so I use session_end instead of
session_destroy on index.php page. And the user can manually (hyperlink) go
to index.php from summary.php with some $_SESSION data so I also use
session_end, not session_destroy , on summary.php.
Thus, I have no session_destroy call in my website code.
QUESTION: May it produce any problems?
Thanks a lot for your answers.
I am learning PHP5. I have a website that consists of two pages: index.php
and summary.php. In index.php the user is automatically moved to
summary.php with some $_SESSION data so I use session_end instead of
session_destroy on index.php page. And the user can manually (hyperlink) go
to index.php from summary.php with some $_SESSION data so I also use
session_end, not session_destroy , on summary.php.
Thus, I have no session_destroy call in my website code.
QUESTION: May it produce any problems?
Thanks a lot for your answers.
Comment