Re: Checking a received header for LC Server or revIgniter>

2020-12-18 Thread Ralf Bitter via use-livecode

Accidentally I sent the following message to David directly, maybe
it is helpful for others too:

If you go the revIgniter route use rigGetHTTPheader("myCustomHeader"),
otherwise you can use $_SERVER["HTTP_myCustomHeader"].


Ralf


On 17.12.20 00:35, David Bovill via use-livecode wrote:

I’m looking to check for received custom headers on a Livecode + revIgniter 
based server. I know how to set headers, and on the desktop Id use 
libURLLastRHHeaders - but what is the best way to do this on the server?


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


Re: Checking a received header for LC Server or revIgniter>

2020-12-17 Thread David Bovill via use-livecode
Fantastic - thanks!

NB I don’t get a result when searching for rigGetHTTPheader in the revIgniter 
docs. I guess it’s not documented?
On 17 Dec 2020, 10:13 +, How to use LiveCode 
, wrote:
>
> rigGetHTTPheader
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Checking a received header for LC Server or revIgniter>

2020-12-17 Thread Ralf Bitter via use-livecode


Hi David,

if you go the revIgniter route use rigGetHTTPheader("myCustomHeader"),
otherwise you can use $_SERVER["HTTP_myCustomHeader"].


Ralf


On 17.12.20 00:35, David Bovill via use-livecode wrote:

I’m looking to check for received custom headers on a Livecode + revIgniter 
based server. I know how to set headers, and on the desktop Id use 
libURLLastRHHeaders - but what is the best way to do this on the server?


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


Checking a received header for LC Server or revIgniter>

2020-12-16 Thread David Bovill via use-livecode
I’m looking to check for received custom headers on a Livecode + revIgniter 
based server. I know how to set headers, and on the desktop Id use 
libURLLastRHHeaders - but what is the best way to do this on the server?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode