473,396 Members | 1,938 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Server.Execute - how much is 'shared'?

I'm using Server.Execute to decide at run-time which .aspx page to use
to format a mail message. Using a StringWriter, I call Server.Execute
on the page that does the formatting, then snag the text from the
StringWriter and stuff it into an email message.

All these pages use a custom Page class that we've written to handle
the startup/shutdown stuff and provide access to our business objects.
That is, caller.aspx and callee.apsx both derive from the same
Page-derived class.

My question is, how much is 'shared' when caller.aspx Server.Execute's
callee.aspx? The problem is, when callee.aspx is done, it cleans up the
environment as it should as if it were called via a browser. The
problem is, once Server.Execute returns in caller.aspx, it's lost its
marbles, as if it were 'shut down' when the page ends.

Did callee.aspx do that? How much of the environment/page/context/etc.
do caller.aspx and callee.aspx share?

-Brian

Mar 24 '06 #1
0 1053

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
6
by: EP | last post by:
I need to build a fairly simple application that will reside on remote storage, not on a server, and I am looking for any best practices and approaches that have worked for others. I believe...
12
by: Light | last post by:
Hi all, I posted this question in the sqlserver.newusers group but I am not getting any response there so I am going to try it on the fine folks here:). I inherited some legacy ASP codes in my...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.