Newsgroups: microsoft.public.scripting.vbscript
From: Leonard <Leon...@discussions.microsoft.com>
Date: Tue, 27 Oct 2009 22:22:01 -0700
Local: Wed, Oct 28 2009 5:22 am
Subject: Using Session.Contents I receive OnEndPage error
I am trying to itterate through Session.Content and I receive:
An error occurred in the OnEndPage method of an external object. I do not have OnEndPage method in my code. Thanks in advance Leonard Here is the fragment of my code that is failing: Dim oCol, strKey, intType, strType, strValue, i intType = 0 Set oCol = Session.Contents Response.Write " object count: " & Session.Contents.Count & "<br>" If IsObject( oCol(strKey) ) Then If bReadableItem = "True" Then Here is my output: object count: 19 Active Server Pages error 'ASP 0194' You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||