下面是設置和取出Session對象的代碼。 設置Session的代碼是: Session[“greeting”]=“hellowang!”; 取出該Session對象的語句如下: stringMyvar=()