questiona one of the advantages of the session


Question:

(a) One of the advantages of the Session object is that it prompts to you when a user session begins. In this context, a user fills in a registration form and the Session variables are then initialized in the Session_OnStart subroutine. The Global.asa file stores objects, arrays and ‘normal' items. Write extract codes to:

(i) check whether the collection contains objects. You are not required to display the content of objects instead display the item and a message as follows: "Objects will not be displayed now".

(ii) check whether the collection contains arrays.

(iii) list each element in the array

(iv) list the Session variables' names and values.

(b) (i) Give the appropriate command that allows you to delete all the Session variables created in part (a) above.

(ii) Explain the collections used in part (a) above.

(c) Give four ways how session variables are erased from memory.

Request for Solution File

Ask an Expert for Answer!!
DOT NET Programming: questiona one of the advantages of the session
Reference No:- TGS0361023

Expected delivery within 24 Hours