Sessions at
src/Template and under that directory create a
View file
called
write_session_data.ctp . Copy the following code in that file.
src/Template/Sessions/write_session_data.ctp The data has been written in session.
Create another
View file called
retrieve_session_data.ctp under the same
Sessions directory and copy the following code in that file.
src/Template/Sessions/retrieve_session_data.ctp Here is the data from session.
Name: =$name;?>
Create another
View file called
check_session_data.ctp under the same Sessions
directory and copy the following code in that file.
src/Template/Sessions/check_session_data.ctp