473,698 Members | 2,346 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Invoking another instance of the same application,sav ing/restoring session state

Hi,

I'm building this web application using asp.net and c# as code behind.

Currently I save all my session data in session variables.

One of the things that this application must do, is to invoke another
instance of the same application, with different parameters, of
course. Then the second invokation can potentially couse a third
invokation, etc.

Each invokation will use different values in session variables, same
names, but different values.
Then when I exit out of the child invocation, and come back to the
invokation that called it, I need to be able to acess session data
belonging to this parent application.

My question is how to accomplish that. What is the best way.
Everything happens in the same session,
Same session ID.

I was planning to replace session variables with hidden form
variables. But that won't make a difference.
The problem still remains.

Please advice.
thanks
us*****@yahoo.c om
Nov 18 '05 #1
1 1271
Sounds like you should use recursion.
http://personal.vsnl.com/erwin/recursion.htm
<us*****@yahoo. com> wrote in message
news:27******** *************** ***@posting.goo gle.com...
Hi,

I'm building this web application using asp.net and c# as code behind.

Currently I save all my session data in session variables.

One of the things that this application must do, is to invoke another
instance of the same application, with different parameters, of
course. Then the second invokation can potentially couse a third
invokation, etc.

Each invokation will use different values in session variables, same
names, but different values.
Then when I exit out of the child invocation, and come back to the
invokation that called it, I need to be able to acess session data
belonging to this parent application.

My question is how to accomplish that. What is the best way.
Everything happens in the same session,
Same session ID.

I was planning to replace session variables with hidden form
variables. But that won't make a difference.
The problem still remains.

Please advice.
thanks
us*****@yahoo.c om

Nov 18 '05 #2

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

Similar topics

7
597
by: kon george | last post by:
Can somebody assist. I build this code on a dev laptop and copied across the entire code to a Windows 2003 server with 1.1 framework. It is basic ASP.NE T that uses web service for SQL Server 2000 DB access. The code works fine on my dev laptop, just not on the non dev machine. Here is the full error page:
3
4304
by: Grinninger | last post by:
Hello, I am using ASP.NET, C# under W2K. I try to keep some important information in application- and session-state Objects. With the recycling of the ASPNet_WP.EXE my application- and session-state Objects get lost. Therfore I have some questions: -) Is it usual that the ASPNet_WP.EXE becomes recycled twice a day? -) What is the expected recyclingperiod for the ASPNet_WP.EXE ?
2
1951
by: NWx | last post by:
Hi, Is Cache appropriate to store persistent variables used across the application? What I want is to store UserID for currently logged user, SessionID (my own SessionID, which keep track of datetime for login and logout as well as other info, like Client IP , etc) My objects I want store to cache are not set-up to expire. Or should I store them better in Session storage?
4
1310
by: kanones | last post by:
I have some data that is been retrieved from a call to sql server stored procedure that I want to store for a period of time in a web farm architecture. I want to minimize the calls to sql server as much as possible. Storing it in application cache will result the calls to be made if the users are bounced from one server to another. But is this the best resolution or is there any other methodology that I can use which will be more...
3
4566
by: RCS | last post by:
I have an app that I have different "sections" that I want to switch back and forth from, all while having the server maintain viewstate for each page. In other words, when I am on Page1.aspx and set textboxes, radio buttons, etc - that viewstate is fine. Then I have a linkbutton that does a Server.Transfer over to Page2.aspx. When I Server.Transfer back to Page1.aspx, the viewstate info is lost. I ran across another example of this last...
4
1607
by: McGeeky | last post by:
I am implementing a series of sequential web pages, a wizard, whereby the user can step back to a previous page. I want to restore the state of those pages if the user navigates back to them. Only being new to ASP.Net, I am not sure if it provides facilities to manage this scenario. Any info would be appreciated, thanks. -- McGeeky http://mcgeeky.blogspot.com
15
3740
by: Marcus Kwok | last post by:
How do you save the formatting options for a stream? In the program below, notice that when I define my operator<<() for the custom type, it permanently changes the output format of the stream: #include <iostream> #include <iomanip> struct Data { double d; };
13
1829
by: =?Utf-8?B?YW1pdF9taXRyYQ==?= | last post by:
I Need to forcefully Abandon ASP.NET sessions from an external Windows application or another site. Please help how can i implement this
3
1991
by: Martin Kulov [MVP] | last post by:
Hi, I am wondering if this problem is still valid for ASP.NET 2.0. "To maintain session state across different Web servers in the Web farm, the application path of the Web site (for example, \LM\W3SVC\2) in the Microsoft Internet Information Services (IIS) metabase must be the same for all of the Web servers in the Web farm. The case also needs to be the same because the application path is case-sensitive."
0
8608
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9164
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9029
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8898
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7734
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6524
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2332
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.