| View previous topic :: View next topic |
| Author |
Message |
redjr NeoBooker

Joined: 06 Jan 2009 Posts: 103 Location: NY
|
Posted: Mon Jan 25, 2010 1:13 pm Post subject: Potential Issues with Single-executible app on server. |
|
|
I've been working on a more robust version of an app I created last year that is intended to support a multi-user, concurrent-user environment. The app is relatively simple and pulls up project information (documents, spreadsheets, etc.) held within a series of folders. The series of 'back-end' folders has been replicated across a number of active projects users will access. When a user logs into the app they are asked for their name and program they wish to access. This information is then used as part of [variable] names to direct the app to their assign project folder and sub-folders on the server.
My intent it to have a single executable Neo-app file that all users execute from a web-link on the local portal. This preferred method was chosen out of an ease of maintenance issue - only having to maintain a single copy of the application.
While there are several variables that get assigned/set during the users logon process - for instance, [User] = "Fred" and [Project_Path]= "Project A". These variables are then used to direct the app to select 'Project A' path when 'Fred' is logged on for various functions and reports.
Here's my concern and possible dilema. In a concurrent-user environment, if I'm using a single executable app, won't it be possible for these variables to get reset to a second user who logs on? Say Mary logs on and her project is 'Project B'. Hence the two variables [User] and [Project_Path] get set with her values. I suspect this would happen thus directing further program execution for Fred and Project A, to Mary and Project B. This is a condition I would obviously not want to happen under any circumstances. Is that a correct statement, or are these variable values stored locally on the users computer rather then the server? Can I direct where these are stored?
If so, is there an alternative method of coding a NeoBook app to provide for this type of environment, or would I simply have to supply another copy of the executable file for each project? Is this concern unfounded and I really have nothing to worry about once I go into production?
Any thots and comments concerning this topic would be appreciated.
Thx,
redjr... |
|
| Back to top |
|
 |
Neosoft Support NeoSoft Team
Joined: 31 Mar 2005 Posts: 4048 Location: Oregon, USA
|
Posted: Mon Jan 25, 2010 3:29 pm Post subject: |
|
|
The application will always be executed on the local PC/workstation regardless of where the actual exe file is stored. Variables are stored in RAM memory on the local workstation. In this case, the network server is merely acting as a hard drive supplying the application file to be run. You shouldn't have problems with variables being overwritten unless you run multiple copies of the app on the same workstation. _________________ NeoSoft Support |
|
| Back to top |
|
 |
Gaev NeoBooker

Joined: 01 Apr 2005 Posts: 4321 Location: Toronto, Canada
|
Posted: Mon Jan 25, 2010 3:56 pm Post subject: |
|
|
redjr:
As mentioned by Dave, there is no possibility of [variables] being messed up ... but since all users are running from the same copy (location) of the .exe file, they all have the same [PubDir] ... so if you have script that reads/writes to this folder, you can have the files messed up. _________________ Gaev
http://www.scriptedlogic.com/ |
|
| Back to top |
|
 |
redjr NeoBooker

Joined: 06 Jan 2009 Posts: 103 Location: NY
|
Posted: Mon Jan 25, 2010 6:37 pm Post subject: |
|
|
| Gaev wrote: | redjr:
As mentioned by Dave, there is no possibility of [variables] being messed up ... but since all users are running from the same copy (location) of the .exe file, they all have the same [PubDir] ... so if you have script that reads/writes to this folder, you can have the files messed up. |
This should not be a problem as all files used are in specific locations - governed by the user log on.
redjr... |
|
| Back to top |
|
 |
DIGIROSS NeoBooker

Joined: 03 Dec 2009 Posts: 2
|
Posted: Mon Feb 01, 2010 2:41 pm Post subject: |
|
|
I'm currently running such a setup on my employers intranet server.
I designed an interactive manual with NeoBook that has replaced all of our employee manuals, documents, etc. The application has been successfully running for 5 months now with no problems. |
|
| Back to top |
|
 |
|