I'm running NT 4.0 and IIS 4. I've never seen this error before! The only
thing I can think of that's different about this server is someone installed
VB on it. My guess is that overwrote something. Any ideas?
Thanks!
Leave out the 'Content'
Session("MyVariable") works fine, as it takes the default property "Content"
for you.
Jeroen Elias
"Greg Haley" <gha...@haleyenterprises.com> wrote in message
news:ONwzjkMrAHA.1912@tkmsftngp04...
Try using it as follows:
Response.Write Session.Contents.Count
Response.Write Session.Contents.Item(1)
Response.Write Session.Contents.Key(USERNAME)
So If you wanted to get all the contents you could retreive them via a loop
i.e For i=1 to i=Session.contents.count
Response.Write Session.Contents.Item(i)
Next
Hope you get my drift.
Nick
Greg Haley <gha...@haleyenterprises.com> wrote in message
news:ONwzjkMrAHA.1912@tkmsftngp04...
--
Michael Harris
Microsoft.MVP.Scripting
--
mik...@mvps.org
Please do not email questions - post them to the newsgroup instead.
--
"Greg Haley" <gha...@haleyenterprises.com> wrote in message news:ONwzjkMrAHA.1912@tkmsftngp04...