Task 9 - Session Handling - Programming Practice Task using PHP
9.1
Make show-session-data.php, it should display all sessions data (int, float, arrays) in the web page. if the element is array, display array data appropriately.
9.2
9.2
Make a form with two input fields i.e. key and value, when user submit the form, store the submitted key value in session. If same key already exist, display message that key already exist in session and can't be created again. At end of the script, include show-session-data.php script you created in task 9.1
9.3
9.3
Make a program that shift all cookies into session and delete them from user browser. Definitely, you have to add some cookie first.
9.4
9.4
A request contains multiple parameter with some values. Shift all parameters into session. Using same name and value.
Comments
Post a Comment