Low cost ecommerce web development India flash website design 

The Session object

You can use the Session object to store information needed for a particular

user-session. Variables stored in the Session object are not discarded when the

user jumps between pages in the application; instead, these variables persist

for the entire user-session.

The Web server automatically creates a Session object when a Web page from

the application is requested by a user who does not already have a session.

The server destroys the Session object when the session expires or is

abandoned.

One common use for the Session object is to store user preferences. For

example, if a user indicates that they prefer not to view graphics, you could

store that information in the Session object.

Note Session state is only maintained for browsers that support cookies.

Syntax

Session.collection|property|method

29

Collections

Contents

Contains the items that you have added to the session with script commands.

StaticObjects

Contains the objects created with the <OBJECT> tag and given session scope.

Properties

CodePage

The codepage that will be used for symbol mapping.

LCID

The locale identifier.

SessionID

Returns the session identification for this user.

Timeout

The timeout period for the session state for this application, in minutes.

Methods

Abandon

This method destroys a Session object and releases its resources.

Events

Scripts for the following events are declared in the global.asa file.

Session_OnEnd

Session_OnStart

freelance web designer India web development

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73