Announcement

Collapse
No announcement yet.

How to disable to entering an application by default

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

  • How to disable to entering an application by default

    Hello,

    When we create and deploy an any application using SC it is available and reachable to everyone. Everyone could access it if s/he know the url.
    I want to nobody access it before entering an username / password in control application. How can I do it?

  • #2
    If you make use of security option then starting any application w.o. logging on will generate a security error. Another option would be to set a global var if logged on and do a sc_redir to the logon application from any application if this variable is not set. This check can be done in onscriptinit.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Originally posted by aducom View Post
      If you make use of security option then starting any application w.o. logging on will generate a security error. Another option would be to set a global var if logged on and do a sc_redir to the logon application from any application if this variable is not set. This check can be done in onscriptinit.
      Thanks for your reply aducom.
      I have tried 2nd option which is set a global variable when logging then check it at other applications. But whenever I set global variable, on runtime it ask me a value of global variable. I think I have to change it as OUT parameter but I couldnt find a menu to to this. Can you help me about this issue? How can I change a global variable settings IN /OUT

      Comment


      • #4
        click the 'Application' twisty on the left side, Then on the Global Variables in the list. That will show you the variables you have defined, and you can change them to 'out'.

        Comment


        • #5
          Originally posted by vrtisworks View Post
          click the 'Application' twisty on the left side, Then on the Global Variables in the list. That will show you the variables you have defined, and you can change them to 'out'.
          Thanks for the reply but unfortunately I couldnt be able to find "Global Variables". I dont know what am I missing but it is simply does not apper.
          Where it is? I am using v7.1

          Comment


          • #6
            Look at left menu: Application / Global Variable:

            2013-08-07_19h43_06.png
            Best regards: - Reinhard -

            I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

            Comment


            • #7
              Originally posted by RHS View Post
              Look at left menu: Application / Global Variable:

              [ATTACH=CONFIG]450[/ATTACH]
              Ohw, thanks god. Now I see.
              Regards

              Comment

              Working...
              X