Need to access ASP from a middle-tier

M

Mr. Smart

I have a middle-tier written using Foxpro. I'd like this tier to coommunicate
(that is pass some variables to ASP). I defined a Session variable somewhere
in my ASP file, e.g. Session("Usercode") = Somevalue. Now somewhere else, I
want to change this value. I tried this:
UserSession = CREATEOBJECT('ASPTypeLibrary.Session')
UserSession.Contents("Usercode") = TheUsercode
However, it gives the error: ASPTypeLibrary.Session is not found. However,
VB's object browser lists this! What am I doing wrong? Thanks in advance
 
B

Bob Barrows [MVP]

Mr. Smart said:
I have a middle-tier written using Foxpro. I'd like this tier to
coommunicate (that is pass some variables to ASP). I defined a
Session variable somewhere in my ASP file, e.g. Session("Usercode") =
Somevalue. Now somewhere else, I want to change this value. I tried
this:
UserSession = CREATEOBJECT('ASPTypeLibrary.Session')
UserSession.Contents("Usercode") = TheUsercode
However, it gives the error: ASPTypeLibrary.Session is not found.
However, VB's object browser lists this! What am I doing wrong?
Thanks in advance

You should try a Foxpro or VBA group. A little bit of the prior code should
help somebody resolve the issue.

Bob Barrows
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top