0
 Text file
kB
Browser

(Name) (Value)
(Expiry Date)
Host Path
 Cookies
Web Server
Client HTTP
Header
 Client HTTP Header
Cookies
Client
Cookies
Client
cookiefo
rm.jsp
setcookie
.jsp
setcookie
.jsp
 Session)
Web Server
Client
 Client) Session
Session ID Web Server

session_start()
 session_start()
Client session id
session id
session_id()

session_register()
session_register (

session_register("myname");
// myname

HTTP_SESSION_VARS
$HTTP_SESSION_VARS['

HTTP_SESSION_VARS['name']='s
ompot';
// name

SESSION
$_SESSION['

SESSION['name']='sompot';
// name

unset($_SESSION['
session_unregister(

session_unset();
LoginSes
sion.jsp
LoginSessi
on2.jsp
บทที่ 7
บทที่ 7
บทที่ 7
บทที่ 7
บทที่ 7
บทที่ 7
บทที่ 7
บทที่ 7
บทที่ 7
บทที่ 7
บทที่ 7
บทที่ 7
บทที่ 7
บทที่ 7
บทที่ 7
บทที่ 7
Upcoming SlideShare
Loading in...5
×

บทที่ 7

42

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
42
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "บทที่ 7"

  1. 1.  Text file kB Browser  (Name) (Value) (Expiry Date) Host Path
  2. 2.  Cookies Web Server Client HTTP Header  Client HTTP Header Cookies Client Cookies Client
  3. 3. cookiefo rm.jsp
  4. 4. setcookie .jsp
  5. 5. setcookie .jsp
  6. 6.  Session) Web Server Client  Client) Session Session ID Web Server
  7. 7.  session_start()  session_start() Client session id session id session_id()
  8. 8.  session_register() session_register (  session_register("myname"); // myname
  9. 9.  HTTP_SESSION_VARS $HTTP_SESSION_VARS['  HTTP_SESSION_VARS['name']='s ompot'; // name
  10. 10.  SESSION $_SESSION['  SESSION['name']='sompot'; // name
  11. 11.  unset($_SESSION[' session_unregister(  session_unset();
  12. 12. LoginSes sion.jsp
  13. 13. LoginSessi on2.jsp
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×