473,468 Members | 1,364 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Manage multiple user sessions

Hi,

let me first explain what my problem is all about: I have a third-party
application, which does not allow multiple instances of itself. As I
need to run the application in multiple instances (it is processing
data, a job which can be neatly parallelized) I have created five user
accounts on my XP Home system, log in as every one of these users and
launch the application in each session, which works fine. (BTW: is the
number of users that can be logged in at the same time on XP Home
limited in some way? Apparently only 6 users can be logged in at the
same time, but I cannot switch between users anymore unless I log out
the sixth user. Is this restriction an XP restriction, a memory
problem, or what else?).

Unfortunately, the third-party application obviously has a bug that
causes it to freeze at some point or another (this doesn't have
anything to do with the application being started five times on the
same machine, as it freezes when run alone, too). This can happen after
a few minutes or after several hours. So I need to check whether the
application is still running, and restart it if necessary. This calls
for automation, of course (currently I do an IsResponding test on the
according process, which is performed by a "control"-application I have
specifically written for this purpose).

Now managing the start of the application is somewhat tedious, as I
have to repeat it several times a day. I wonder: is there a way to
automate the creation of the five user session and the start of the
applications?

I have something along the following lines in mind: I log in as the
administrator and launch an application that gives me control about how
many user sessions to create. The sessions are then created as if one
would do manually and the third-party application is started in each
session, after which I get switched back to the administrator account,
where I can now monitor the status of the third-party application on
the different accounts and restart or stop the application to my
liking.

I took a look at the Impersonation classes, but I am not sure whether
they do what I want or whether this is possible at all. So I would be
grateful if anyone could guide me into a way of automating the task at
hand.

BTW: there is no way of forcing an application into multiple instances,
by creating an entirely own process space or anything like that, is
there (and no, I do not want to use VMWare for this, seems like
overkill to me ;))

And, finally, to clear out the obvious: the third-party application is
no longer supported and cannot be changed in any way :(

Thanks in advance,
Ron Nanko

Nov 17 '05 #1
0 1987

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

Similar topics

13
by: jing_li | last post by:
Hi, you all, I am a newbee for php and I need your help. One of my coworker and I are both developing a webpage for our project using php. We have a copy of the same files in different location...
4
by: john | last post by:
How do u guys handle multiple sessions?? i.e, opening different browser windows by running iexplore.exe or clicking IE icons and opening the application. My sessions are mixing up. what i mean is...
16
by: noah | last post by:
Does PHP have a feature to associate Cookie sessions with a persistent database connection that will allow a single transaction across multiple HTTP requests? Here is how I imagine my process: I...
11
by: Ohaya | last post by:
Hi, I'm trying to understand a situation where ASP seems to be "blocking" of "queuing" requests. This is on a Win2K Advanced Server, with IIS5. I've seen some posts (e.g.,...
0
by: wh | last post by:
The application that I'm about to start working on requires maintaining a list of users currently accessing an asp.net application running on IIS5.0. I essentially need to monitor which xml files...
1
by: Rob | last post by:
I have an ASP.NET application that uses forms-based authentication. A user wishes to be able to run multiple sessions of this application simultaneously from the user's client machine. The...
18
by: Gleep | last post by:
I've searched google intensely on this topic and it seems noone really knows how to approch this. The goal I don't want clients to give out their usernames and passwords to friends, since the site...
3
by: Michel | last post by:
Hi, I wrote an app in .Net and I whant only 1 instance of this app open for the user; the user open my app, do some works and try to open another instance of my app, I whant to show a message to...
3
by: Ben Holness | last post by:
Hi all, I have a php/mysql website where people can upload their own graphics for the buttons and background of pages on the website. This used to run on one server, but I have now been asked...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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,...
1
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...
1
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...
0
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.