Sarah

Not quite sure what you're wanting to do. Do you just want to get the html page 
normally returned after login from within a Rev script?

If so, does this work?

on mouseUp
  libUrlSetSSLVerification false ## SEE BELOW 1
   put "https://memberservices.optuszoo.com.au/login/"; into tUrl
   put "Action=login&username=abc&password=abc" into tPostData ##SEE BELOW 2
   
   post tPostData to url tUrl
   put it into field 1
   if the result <> empty then
      answer the result
   end if
end mouseUp

Point 1
libUrlSetSSLVerification false does as Bernard says, and no check is made of 
the certificate. (But data is still sent encrypted) Better to set the 
sslCertificates to a suitable file if you have one.

Point 2
Change the "abc" for username and password to the correct values. (URLEncode if 
they contain funny characters or spaces)

When I tried it, it returned the login page again but with the "Incorrect 
username/password." text included, which suggests it might be doing something 
right. 

Good luck!
Dave

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to