|
-
May 23rd, 2000, 09:30 PM
#1
Hi,
What is the best way to declare public variables in an ASP script?
I tried including a .inc file as
< ! #include file = "testincl.inc" >
where testincl.inc contains
public str
But i still cannot access str as a public variable.
Thanks for any help.
-
May 24th, 2000, 02:55 AM
#2
Addicted Member
Hi,
you could create a session variable, and then request it from each page.
Lenin
-
May 24th, 2000, 03:02 AM
#3
Thanks for your reply lenin.
I already have a couple of session variables defined in one of the server events. I am not able to access them in any of the client events, though it works fine in the other server events.
Can you give me an example?
Thanks again.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|