CSS-Unit 4-Notes
CSS-Unit 4-Notes
Poonam Amit
Kamble
Unit IV
Cookies and Browser Data
Syllabus:
4.1 Cookies –
basic of cookies
reading a cookie value
writing a cookie value
creating a cookies
deleting a cookies
setting the expiration date of cookie
1.2 Browser –
opening a window,
giving the new window focus,
window position,
changing the content of window,
closing a window,
scrolling a web page,
multiple windows at once,
creating a web page in new window,
JavaScript in URLs,
JavaScript security,
Timers,
Browser location and history.
1
Unit I
Basics of JavaScript Programming
Client Side Scripting Language(22519) By Mrs. Poonam Amit
Kamble
Unit IV
Cookies and Browser Data
4.1 1) Basic of cookies
i) What are Cookies?
Cookies are text files used to identify your computer as you use a computer
network with small pieces of data like a username and password. HTTP cookies
are used to identify particular users and improve web browsing experience.
Cookies were originally designed for CGI programming. The data contained in a
cookie is automatically transmitted between the web browser and the web server,
so CGI scripts on the server can read and write cookie values that are stored on
the client.
3
Unit I
Basics of JavaScript Programming
Client Side Scripting Language(22519) By Mrs. Poonam Amit
Kamble
Initial Form
4
Unit I
Basics of JavaScript Programming
Client Side Scripting Language(22519) By Mrs. Poonam Amit
Kamble
Initial Form
6
Unit I
Basics of JavaScript Programming
Client Side Scripting Language(22519) By Mrs. Poonam Amit
Kamble
7
Unit I
Basics of JavaScript Programming
Client Side Scripting Language(22519) By Mrs. Poonam Amit
Kamble
v) Deleting a cookies
4.2 1)
2)
3)
4)
5)
6)
7)
8)
9)
10)
11)
12)
8
Unit I
Basics of JavaScript Programming