0% found this document useful (0 votes)
32 views8 pages

20CP022 2CP08 Lab10

Uploaded by

Raj shah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views8 pages

20CP022 2CP08 Lab10

Uploaded by

Raj shah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

ID 20CP022

Subject Web Technologies


Lab Number 10

PHP-2 Advance feature


2. Write php program to use of OOP concept in PHP.
3. Write PHP program to demonstrate use of cookies.

When file is load first time :


When we refresh page:
 Access value in different page :

Output:
 Delete Cookies :

Output :
4. Write PHP program to start, stop and check session on
each web page.

 Start Session :

 Access session variable on different page :


Output:

 Delete session:
After delete session we cannot access session variable:

----------- X ----------- END ----------- X -----------

You might also like