No, you can't. And you really shouldn't. Are you planning on sharing this global variable between an ASP application and an ASP.NET application? They operate in different processes and don't share information. I think you might be best to simply issue a response redirect from the button click handler that sends you to an separate .asp page, then have that page do what you need, then redirect you back (if necessary).
|