删除所有Session值,flag除外?
p559 2003-10-17 09:34:35 '1//////////////////////////////////////////////////////////////////
session.Contents.RemoveAll
'///////////////////////////////////////////////////////////////////
和
'2//////////////////////////////////////////////////////////////////
for each item in session.contents
If item <> "falg" then
Session.Contents.Remove(item)
response.write item
response.write ":"
response.write Session.Contents(item)
response.write "<br>"
End if
next
'///////////////////////////////////////////////////////////////////
有何区别?
为何用第二种方法删除不干净呢