Hello Elie,
Thanks for posting in the group.
Based on my understanding, now the question is: You use Server.Execute to
execute another asp file (2.asp) in 1.asp. However, one variable is not
accessable in 2.asp. Please correct me if I have misunderstood the probelm.
When we use the Server.Transfer and Server.Execute methods, the ASP
intrinsic objects are transferred and maintained. This includes Request,
Response, Server, Session, and Application. However, if you define a
variable in 1.asp, it won't be visible in 2.asp.
Steven has introduced a good method. You could persist value in Request
object. Also, you could store the value in session so that it could be
accessable in 2.asp.
Does that answer your question? If there is any unclear on it, please feel
free to post in the group.
Best regards,
Yanhong Huang
Microsoft Community Support
Get Secure! ¨C
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.