Get a Jumpstart with our Sample Apps
Results 1 to 6 of 6

Thread: Web Content Super Control Preventing Login

  1. #1
    Member nigeldude's Avatar
    Real Name
    Nigel Freeman
    Join Date
    Jul 2006
    Location
    Belize City, Belize
    Posts
    286

    Default Web Content Super Control Preventing Login

    I have embed a web page in my A5 software. this page has a url like:
    https://abc123.com:9291/gd-portal/login/
    I can log in from the browser with no issues, but, I cannot login when I attempt it from within the A5 software. I get the following message "Invalid username or password"

    How do I get around this?

  2. #2
    "Certified" Alphaholic Stan Mathews's Avatar
    Real Name
    Stan Mathews
    Join Date
    Apr 2000
    Location
    Bowling Green, KY
    Posts
    24,698

    Default Re: Web Content Super Control Preventing Login

    Edit.

    I just tried it and it did work as an interactive web page using the login page for an email account under zimbra. There was an error of some sort about a script on the page not finding something.

    Code:
    https://sadlib.static-app.synacor.com/client/insight/ad.html?adunit=inbox&initialCallTimestamp=1513706716&adRefreshCount=0&refreshTimeStamp=1513706716
    Last edited by Stan Mathews; 12-19-2017 at 02:03 PM.
    There can be only one.

  3. #3
    Member nigeldude's Avatar
    Real Name
    Nigel Freeman
    Join Date
    Jul 2006
    Location
    Belize City, Belize
    Posts
    286

    Default Re: Web Content Super Control Preventing Login

    Hey Stan! Would you believe when you say "interactive web page", I'm not sure what exactly you're referring to? :) I know. :(

    Do you have any suggestion as to how to go about allowing the software users to utilize this page without showing them the address of the page. The office knows it, but the end users, the staff, should not see it.

  4. #4
    "Certified" Alphaholic Stan Mathews's Avatar
    Real Name
    Stan Mathews
    Join Date
    Apr 2000
    Location
    Bowling Green, KY
    Posts
    24,698

    Default Re: Web Content Super Control Preventing Login

    Interactive as opposed to static. A login page would interact with the user allowing some further activity once logged in. A static page would simply display some content.

    I don't do much with connecting Alpha and the web so I don't know why your login page won't process the input into the web content supercontrol correctly.
    There can be only one.

  5. #5
    Member nigeldude's Avatar
    Real Name
    Nigel Freeman
    Join Date
    Jul 2006
    Location
    Belize City, Belize
    Posts
    286

    Default Re: Web Content Super Control Preventing Login

    Ok Stan, Thanks.

  6. #6
    "Certified" Alphaholic Mike Wilson's Avatar
    Real Name
    mike wilson
    Join Date
    Apr 2005
    Location
    Michigan
    Posts
    4,111

    Default Re: Web Content Super Control Preventing Login

    Hi Nigel,
    I found the supercontrol not to work well. I use a modeless dialog with an activex contol. Here is an example to UPS tracking website.

    Code:
    'SCRIPT URL VARIABLES
        dim myurl.object as p
        dim myurl_url as C
        myurl_url ="https://www.ups.com/WebTracking/track?loc=en_US"		
        myurl.class = "shell.explorer.2"
      
    ' DIALOG
        dim dlg_body as C
        dim dlg_code as C
        dim dlg_title as C="SHIPPING EVENTS GROUP"
        DIM SHARED varC_result as C
        dim dlg1 as C
        dim dlg2 as C
        dim vc_H as C="49"
        dim vc_W as C="227"
    
    'THIS IS THE BODY FOR THE WEBSITE DIALOG
    dlg1=<<%dlg1%
    {startup=init}{background=hsi dgray}{font=arial,10,b}{position=0,.3}{nocaption}{lf=.5}
    {region}
    {justify=right}<%O={J=C}{I:'$$generic.orb.red'}{F=arial,10}  Close  ;OF={J=C}{C=white}{B=black}{I:'$$generic.orb.red'}{F=Arial,10,bi}  Close %35,1.5!event_close>
    {lf=.2}
    {endregion};
    
    {region}
    {startup=init}{on_activate=fill}{stretch=width,height}{background=pale yellow}
    {font=Arial,8,b}
    {activex=%dlg1%
    
    dlg2=<<%dlg2%
    myurl?.t.}  
    {endregion}
    %dlg2%
    
       dlg_body=dlg1+vc_W+","+vc_H+dlg2
       
       dlg_code=<<%code%
        
    'START UP OF WEB PAGE DIALOG CODE
        IF a_dlg_button = "init"
         ' show_embedded(local_variables())
          a_dlg_button = ""
            hourglass_cursor(.t.)
                if myurl_url <> "" then      'open up the web site
                    'on error goto myurl_error
                    myurl.object.navigate(shellExplorer_url(myurl_url))
                on error goto 0
                end if
            hourglass_cursor(.f.)
        END IF
    
    'CLOSE
    	IF a_dlg_button="event_close"
    		ui_modeless_dlg_close("SHIPPING EVENTS GROUP")
    	END IF
    
         %code%
    
    'GENERATE THE DIALOG
        varC_result = ui_modeless_dlg_box(dlg_title,dlg_body,dlg_code)
    Mike W
    __________________________
    "I rebel in at least small things to express to the world that I have not completely surrendered"

Similar Threads

  1. Index.a5w problem in super-adding Secure Login screen to app
    By fthall3 in forum Mobile & Browser Applications
    Replies: 5
    Last Post: 05-26-2015, 03:47 PM
  2. Super Control.
    By johnnhoj in forum Alpha Five Version 9 - Desktop Applications
    Replies: 1
    Last Post: 02-17-2011, 07:56 AM
  3. Creating a Web content super control
    By bmarquardt in forum Alpha Five Version 9 - Desktop Applications
    Replies: 2
    Last Post: 01-13-2009, 11:13 AM
  4. Google map Api and V9 Web Content Super Control
    By christobal in forum Code Archive
    Replies: 12
    Last Post: 08-24-2008, 11:13 PM
  5. Setting dynamic content on an HTMLForm super control
    By Mike Thomson in forum Alpha Five Version 9 - Desktop Applications
    Replies: 6
    Last Post: 07-06-2008, 06:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •