Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Can there be a personal directory in a Citrix session?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can there be a personal directory in a Citrix session?

    Never needed to work with a Citrix server but now I do. 8 to 10 outsiders who connect via Citrix. Alpha Five app will be used by them.

    First, if you have experience with Citrix, is it pretty straightforward or are there major caveats?

    Second, my main concern is trying to set up a private directory for each user, one which is only used by the logged-in user. This is not a problem when each user has a workstation on the network since every user has a C drive unique to them. I typically set up a directory on each of the local drives called c:\root. My use of the private workspace in c:\root is, among other things, to pass parameters between Alpha and other programs. As long as everyone has the common c:\root, I don't need to worry about anyone's passing parameters clashing with anyone else's.

    But, can this be achieved on a Citrix server? It is my impression that everyone on the Citrix server shares the same "C drive", meaning that everything will be shared by everyone. Do you know if this is true? If so, do you know of a way for me to achieve the private directory for each Citrix user?

    The acid test is this. Citrix User A creates a document in the directory c:\root. Citrix User B has a c:\root directory but does not have the document in it created by Citrix User A, because it is like a physical hard drive for each of the Citrix users.

    Thank you.

    Jeff

    #2
    Re: Can there be a personal directory in a Citrix session?

    Each user has their own windows login and their own My Documents folder (and subfolders)
    Al Buchholz
    Bookwood Systems, LTD
    Weekly QReportBuilder Webinars Thursday 1 pm CST

    Occam's Razor - KISS
    Normalize till it hurts - De-normalize till it works.
    Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
    When we triage a problem it is much easier to read sample systems than to read a mind.
    "Make it as simple as possible, but not simpler."
    Albert Einstein

    http://www.iadn.com/images/media/iadn_member.png

    Comment


      #3
      Re: Can there be a personal directory in a Citrix session?

      Originally posted by Al Buchholz View Post
      Each user has their own windows login and their own My Documents folder (and subfolders)
      Thanks Al,

      So far so good; it's getting there. Do you know if you can also create another directory, off the root, that is not a sub of My Documents but is nevertheless owned by the login?

      Jeff

      Comment


        #4
        Re: Can there be a personal directory in a Citrix session?

        Originally posted by Jeff Fried View Post
        Thanks Al,

        So far so good; it's getting there. Do you know if you can also create another directory, off the root, that is not a sub of My Documents but is nevertheless owned by the login?

        Jeff
        No, Al, this is not it. I just logged in as a Citrix user and what I see is c:\users\... Under users are all users, each with "My documents". This is not what I'm after. I want to have a common access point for each user that is only that user's data. I can always create a separate directory for each user, but then I won't have the luxury of always being able to call the private directory by the same name for each user.

        Think of your local hard drive. If you store a file on the root (c:\), that file is not accessible by another user other than the one on your workstation. But Citrix doesn't have a physical local hard drive, so I can't do this. I'm trying to create, essentially, a virtual local hard drive for each user where the storage area is the same name for each user but owned separately for each user. Your helpful comment about each user having their own My Documents is NOT what I'm talking about. Let me know if you need further clarification.

        Thanks.

        Jeff

        Comment


          #5
          Re: Can there be a personal directory in a Citrix session?

          Jeff

          I explained to you what windows does to handle unique directories for each user.

          If you want your own directory system, you are free to create and maintain it as needed..
          Al Buchholz
          Bookwood Systems, LTD
          Weekly QReportBuilder Webinars Thursday 1 pm CST

          Occam's Razor - KISS
          Normalize till it hurts - De-normalize till it works.
          Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
          When we triage a problem it is much easier to read sample systems than to read a mind.
          "Make it as simple as possible, but not simpler."
          Albert Einstein

          http://www.iadn.com/images/media/iadn_member.png

          Comment


            #6
            Re: Can there be a personal directory in a Citrix session?

            Jeff, as Al suggests you're going to have to work a little harder. You can't use the same private directory path/name for each user. But this should not be an issue. When they log in you can capture their user name. Your startup code can use that name to tell Alpha where (on the citrix server) that particular user's private directory is located.

            Comment


              #7
              Re: Can there be a personal directory in a Citrix session?

              Originally posted by Tom Cone Jr View Post
              Jeff, as Al suggests you're going to have to work a little harder. You can't use the same private directory path/name for each user. But this should not be an issue. When they log in you can capture their user name. Your startup code can use that name to tell Alpha where (on the citrix server) that particular user's private directory is located.
              Yes, I understand I can program the location of a user's private directory based on their logon. This is precisely what I'm trying to avoid if possible. Al, everyone knows what Windows does to establish a personal user directory. This is not at all what I'm after.

              Here's an illustration, Tom, of what I'm trying to do. Right now, for any installation I have, every workstation has, in addition to a program directory for Alpha and a network location for the data and application files, a directory on the local hard drive that I call c:\root (sub-directory of the root that is named "root". In c:\root, every user has, for example, a file called parmg.dbf. It is a one-record file with various fields for text (text1, text2, text3, etc.), numeric (numb1, numb2, nuimb3, etc.), dates, logical, and memo following the same scheme. For certain procedures in Alpha, I capture variables and pass them on to parmg.dbf. For example, in an order entry application, when the user goes to print an invoice or packing list for the order, among the variables captured in Alpha are the order number, user name, customer number, etc. These variables are written to fields in parmg.dbf using xbasic update record, this being record 1 of a 1-record table. Then the procedure runs another program that takes the field values from parmg.dbf to use in, say, running a third party report writer, or running a procedure written in Visual Foxpro -- whatever. The main point is that parmg.dbf, located in c:\root, is a parameter-passing file.

              Parmg.dbf could never be in a shared location because at the same time one user may be passing parameters to parmg.dbf, another user can be doing the same thing, and the obvious chaos would result. Therefore, I need to have a private zone by default for each user. The local hard drive that has the c:\root directory and the parmg.dbf file is always unique to the user of the computer, regardless of who the user is.

              If you looked inside my code for, say, Visual Foxpro, you would see I define a data path and root path at the beginning of each program. The datapath would be something like datapath=f:\data\. The rootpath would be something like rootpath=c:\root\. Then, when referring to where a file is read from or written to, the code might say 'use datapath+"ohead"'. Or 'copy to rootpath+"tempfile" for ...'

              If I don't have a fixed location for the root path, which needs to be different for each workstation so there is no chaos, as I do with a separate local hard drive, then there are only two options with respect to an environment like Citrix. One is to create a separate directory for each user on the system and program in to the system a definition of rootpath that identifies the directory specific to each individual user. I know I can do that, but it's the long way to the destination. The other option is to have a way to define, uniquely for each user on Citrix, the same named directory that I can reference in my code so I don't need to go the long route.

              Tom, I welcome any insight you might have into this if it is possible. I know you have experience with Citrix.

              Al, I'm not sure if you have experience with Citrix based on your responses, so thanks for your help anyhow.

              Jeff

              Comment


                #8
                Re: Can there be a personal directory in a Citrix session?

                Jeff, FWIW I have zero Citrix experience. (Unless you count my GotoMeeing subscription <grin>)

                Your description suggests another easy solution.

                Create a shared table containing a separate "parameters" record for each user. Get and Set parameters to the user's record by filtering the table based on their logon. No need to have separate directories at all.

                Comment


                  #9
                  Re: Can there be a personal directory in a Citrix session?

                  Originally posted by Tom Cone Jr View Post
                  Jeff, FWIW I have zero Citrix experience. (Unless you count my GotoMeeing subscription <grin>)

                  Your description suggests another easy solution.

                  Create a shared table containing a separate "parameters" record for each user. Get and Set parameters to the user's record by filtering the table based on their logon. No need to have separate directories at all.
                  Now that's what I call thinking outside the box. I'm so close to it, thinking a one-record parameter file, that it didn't occur to me that if I have, say, 10 users, I can assign one user to record 1, another to record 2, etc. I don't event need to use a filter. Rather, if user=A, replace fields in record 1, if user=B, replace fields in record 2, etc. thanks for that eye-opening response. It may preclude the need for separate directories for each user.

                  However, I still need to find out if Citrix itself has a way to accomplish my first goal. Also, for some reason I thought you worked with Citrix. Personally, I've had lots of experience using GoToMyPC for outside sales people connecting to a network, each having their own onsite PC. It worked beautifully and non of this Citrix server stuff got in the way. In fact, this very client who has a Citrix server long time ago had my recommendation to go the multiple-PC route for their various outside sales people (8 or 9 of them). In the end it would have been more cost effective going the GoToMyPC route with all those extra PCs, given the cost of the Citrix server hardware, software, licensing, support, etc.

                  Thanks again.

                  Jeff

                  Comment

                  Working...
                  X