NeoSoft Support Forum Forum Index  Your source for Plug-Ins, sample publications, source code and more...

Source Language:
Translate to:

NeoSoft Support Forum
NeoSoft Community Support Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   SmartFeedSmartFeed   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Potential Issues with Single-executible app on server.

 
Post new topic   printer-friendly view   Reply to topic    NeoSoft Support Forum Forum Index -> General NeoBook Discussions
View previous topic :: View next topic  
Author Message
redjr
NeoBooker


Joined: 06 Jan 2009
Posts: 103
Location: NY

PostPosted: Mon Jan 25, 2010 1:13 pm    Post subject: Potential Issues with Single-executible app on server. Reply with quote

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
View user's profile Send private message
Neosoft Support
NeoSoft Team


Joined: 31 Mar 2005
Posts: 4048
Location: Oregon, USA

PostPosted: Mon Jan 25, 2010 3:29 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Gaev
NeoBooker


Joined: 01 Apr 2005
Posts: 4321
Location: Toronto, Canada

PostPosted: Mon Jan 25, 2010 3:56 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
redjr
NeoBooker


Joined: 06 Jan 2009
Posts: 103
Location: NY

PostPosted: Mon Jan 25, 2010 6:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
DIGIROSS
NeoBooker


Joined: 03 Dec 2009
Posts: 2

PostPosted: Mon Feb 01, 2010 2:41 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    NeoSoft Support Forum Forum Index -> General NeoBook Discussions All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Forum content © 2008 NeoSoft Corp. All rights reserved.