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

Trying to solve problem of users "Falling Asleep" while using A5 APP!

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

    Trying to solve problem of users "Falling Asleep" while using A5 APP!

    I have a real world business app which is generally running "all day long. Users often
    leave their computer for extended periods of time as well as "fall asleep" for extended
    periods of time (ie. actually they just get too busy doing something else).

    In any event, the A5 App just sits there with no keyboard input at all. Yes I do
    use session vars and yes I know some of the problems are related to these vars
    expiring. I "do" know how to make the session last longer in configuration.

    The question(s) is : Where can I strategically place eval_valid("session.my_var") functions
    to effectively thwart errors that might occur because a session.var is required to
    "complete a query"? Remember the app is open and just sitting there. Normally that
    next key action would perform okay. Problem here is that they simply waited for too long.

    Real World Situation: I've got a Tabbed UI interface with 8 buttons that open tabs
    with a grid component in it. When the user waits too long to click a button, the Tab
    action doesn't error but it also doesn't open my grid because the grid is based on
    a filter and session Client_id value that has expired. A 1/2 inch strip of the new tab is displayed
    and that's it. I want to place some user friendly script to prevent this from occurring.

    Please advise how and where to put it!!!

    #2
    Re: Trying to solve problem of users "Falling Asleep" while using A5 APP!

    re:
    I "do" know how to make the session last longer in configuration.
    - what setting is the session timeout on the server.
    Insanity: doing the same thing over and over again and expecting different results.
    Albert Einstein, (attributed)
    US (German-born) physicist (1879 - 1955)

    Comment


      #3
      Re: Trying to solve problem of users "Falling Asleep" while using A5 APP!

      Originally posted by peteconway View Post
      re: - what setting is the session timeout on the server.
      My setting on the server is 2 hours. Regardless, my setting time is not the problem because as I
      stated, I know how to change that. I will even reduce it to 5 minutes during development to
      test it. The problem is, how to effectively handle the timeout when it occurs. Please re-read
      original post.

      Comment


        #4
        Re: Trying to solve problem of users "Falling Asleep" while using A5 APP!

        Originally posted by Fulltimer View Post
        My setting on the server is 2 hours.
        Why not set it to 8 hours if they work an 8-hour day? IOW's why are you timing it out if security is not a concern? Typically you would redirect to another page such as the Login page when someone time's out. That doesn't seem to be the case for you.
        Peter
        AlphaBase Solutions, LLC

        [email protected]
        https://www.alphabasesolutions.com


        Comment


          #5
          Re: Trying to solve problem of users "Falling Asleep" while using A5 APP!

          Originally posted by Peter.Greulich View Post
          Why not set it to 8 hours if they work an 8-hour day? IOW's why are you timing it out if security is not a concern? Typically you would redirect to another page such as the Login page when someone time's out. That doesn't seem to be the case for you.
          Peter,

          In a "real world" office, workers may have different levels of security (ie. permissions). If someone with a high level is drawn from their machine for "too long" then any sub-level worker "could" walk up to that missing person's machine and make data entries that they are not legally permitted to do. Increasing a timeout to 8 hours would not solve any problem, it would in fact make the situation worse.

          While I appreciate the suggestions given in places like this forum, I am extremely familiar with "my situation" and I'm professional enough to know what solution I am looking for. I am trying to query the "experts" on this forum who may have encountered similar scenarios and ultimately solved the problem with "X" solution. I have enjoyed reading your expertise for years but in this case I am looking for a cure to a specific situation.

          My problem with A5 often lies in the area of where do I put "X" solution. Is it a Server side solution or a Client side? In which triggered event (function) should I put my solution? Is it an Xbasic solution or a javascript solution. I've made many mistakes in the past by putting the "right solution" into the "wrong" event handler. Trial and error often wins the day but sometimes, solutions are never found. A5 has sooooo... many nooks and crannies where code can be placed I often ask myself, well why the h*%^ did they force me to put this solution here, when "in my mind" I'm thinking a more logical place would be "over there".

          Please excuse my directness, but I'm not doing this to have intellectual discussions about A5. I'm actually here to try to solve a problem. If someone out there has a good understanding of my original post and has a viable answer, we all would like to hear from you. Otherwise this may remain just another unsolvable scenario when using this product.

          Comment


            #6
            Re: Trying to solve problem of users "Falling Asleep" while using A5 APP!

            re:
            Please advise how and where to put it!!!
            - I have a suggestion but I'd don't think you would like it.
            Insanity: doing the same thing over and over again and expecting different results.
            Albert Einstein, (attributed)
            US (German-born) physicist (1879 - 1955)

            Comment


              #7
              Re: Trying to solve problem of users "Falling Asleep" while using A5 APP!

              Tom,

              What you are looking for is Component Security. It is normally toggled off by default. If you go to Web Security Config, very bottom and find Component Security, toggle it on. Toggle on the additional two options for greatest control. This checks if the person is logged in when they try to access an object such as a button in a tabbedUI, and if not, kicks them back to the Login page. As I said this checks for Login, it doesn't really check for whether the session variable exists or not, there is no built-in option for that, not sure if you could program something. But still, Component Security is what you want. What you do is ensure that your session only expires when the Login expires (overriding whatever you set on the App Sever for session timeout.) You make this adjustment also in Web Security Config under Login Options.

              Initiating Component Security is a chore, you now have to set the Login security for each of your components, and they are Denied as a default, meaning unless you alter the setting for each component, no one can access any of them, so you have to make decisions about each component. When you toggle on Component Security you get a new option under Web Security where you can make those settings.
              Steve Wood
              See my profile on IADN

              Comment


                #8
                Re: Trying to solve problem of users "Falling Asleep" while using A5 APP!

                - could not resit it..
                Insanity: doing the same thing over and over again and expecting different results.
                Albert Einstein, (attributed)
                US (German-born) physicist (1879 - 1955)

                Comment


                  #9
                  Re: Trying to solve problem of users "Falling Asleep" while using A5 APP!

                  Does this help?

                  http://msgboard.alphasoftware.com/al...975#post625975

                  Charlie

                  Comment


                    #10
                    Re: Trying to solve problem of users "Falling Asleep" while using A5 APP!

                    Thank you Steve and Charles. Each of you have provided potential solutions that may work for my scenario. I will need time to examine these options and I'll report back if I find one that works best. Maybe down the road Alpha may find it helpful to make such a solution as part of the framework. I can envision it as being a standard event handler that (if turned on) will check a condition BEFORE any OTHER action took place and give your user a graceful recovery. A small number of properties would be needed to be able to customize it for each developer's situation.

                    Again thanks,
                    Tom

                    Comment

                    Working...
                    X