Hello
Server.execute doesn't work quite that way. when server.execute executes an external page, it executes it as a stand-alone page with its own set of variables. local variables assigned on the "container" page don't affect the environment of the "executed" page. but your solution is VERY close.
in fact, you can do this with one teensy modification to your suggested container page code: instead of
Code:
session("strCount")=10
server.execute("file.asp")
session("strCount")=""
This will define a session variable, which you will find will be retrieved with no problems on the executed page. FILT, this code should work great for you. jsut remember that instead of referencing it via the request("count") method on file.asp, simply call the session variable session("strCount") in its place. should work fantastic.
By the way,
-- This message may have been cut off and the rest will only be shown to members. To become a member, click here --