HOME  >  ÀÚ·á   >  ASPÀÚ·á½Ç
¹øÈ£ Á¦¸ñ Á¶È¸
45
ASP TextStream Object
846
44
ASP FileSystemObject Object
879
43
ASP ASPError Object
995
42
ASP Server Object
813
41
ASP Session Object
776
È®´ë   Ãà¼Ò    
A Session object stores information about, or change settings for a user session.
More Examples

Set and return the LCID
Set or return an integer that specifies a location or region. Contents like date, time, and currency will be displayed according to that location or region.

Return the SessionID
Return a unique id for each user. The id is generated by the server.

A session's timeout
Set and return the timeout (in minutes) of a session.
Session Object

When you are working with an application on your computer, you open it, do some changes and then you close it. This is much like a Session. The computer knows who you are. It knows when you open the application and when you close it. However, on the internet there is one problem: the web server does not know who you are and what you do, because the HTTP address doesn't maintain state.

ASP solves this problem by creating a unique cookie for each user. The cookie is sent to the user's computer and it contains information that identifies the user. This interface is called the Session object.

The Session object stores information about, or change settings for a user session.

Variables stored in a Session object hold information about one single user, and are available to all pages in one application. Common information stored in session variables are name, id, and preferences. The server creates a new Session object for each new user, and destroys the Session object when the session expires.

The Session object's collections, properties, methods, and events are described below:
Collections
Collection 	Description
Contents 	Contains all the items appended to the session through a script command
StaticObjects 	Contains all the objects appended to the session with the HTML object  tag
40
ASP Application Object
1265
39
VBScript Keywords
799
38
VBScript Year Function
1369
37
VBScript WeekdayName Function
743
36
VBScript Weekday Function
803
35
VBScript TimeValue Function
773
34
VBScript TimeSerial Function
763
33
VBScript Timer Function
767
32
VBScript Time Function
795
31
VBScript Second Function
777
30
VBScript Now Function
752
29
VBScript MonthName Function
805
28
VBScript Month Function
904
27
VBScript Minute Function
957
26
VBScript IsDate Function
1039
1 2 3

 
sitemap    
all right reserved : ÀÌ ¸ðµç °Å! ´Ù~ ³»²¨!