revbrowser - Account login done in background
andre at andregarzia.com
Tue Jul 1 13:49:41 CDT 2008
If I remember correctly, that init call was not related to any web
page login, it was there to verify that you had a valid altBrowser
license. These days, you simply call RevBrowserOpen, you don't need to
have a license anymore.
If you want to be able to login automatically to a web site, first you
need to learn how it's autentication scheme is done, if it is a http
if it needs so, then, it might not be worth pursuit.
If it is cookie based, you can use a simple URL call to capture the
cookie and script the RevBrowser using it's htmltext property, this
includes overwritting all links inside so you can trap them with
RevBrowserBeforeNavigate so that you can use custom URL calls with
browser and thus be able to navigate normally. Any way, I've did this
sort of stuff as an experiment, I would not trust these techniques
into something you intend to deploy. A single change in the web page
on the server side and everything breaks.
PS: If by login, you simply want to display a web page, you can use
the URL property of RevBrowser to open such page.
On Mon, Jun 30, 2008 at 6:21 PM, Glen Bojsza <gbojsza at gmail.com> wrote:
> There used to be XBrowser_Init "myUsername", "myPassword" that support
> altBrowser but it is no longer supported with revBrowser.
> I would like to automatically be able to login to a known web site with the
> push of a button. Is there a way to do this using revBrowser?
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://www.andregarzia.com All We Do Is Code.
More information about the use-livecode