Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8329 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Does anyone know if it's possible to use or capture the referring URL with FileMaker? I want to set a cookie only if a page is referred from our campus authentication page.

Thanks,

Carrie

Posted

Hi, I use 'http_referer' for a very similar purpose, but I found I had to use SSI as Filemaker doesn't recognise the command.

it would work like this:

<!--#hide--><!--#show var="HTTP_REFERER" value="http://myfilemakerdomain:591/directorypath/FMPro"-->

[FMP-SETCOOKIE: =mycookiestuff]

rest of the page

<!--#show-->

<!--#hide var="HTTP_REFERER" value="http://myfilemakerdomain:591/directorypath/FMPro"-->

access denied

I also had HUGE cross-browser problems with these FileMaker cookies which refused to work with Windows Explorer - see the 'help with web page cookie' thread in the 'services/solutions wanted'section

regards, jeff

Posted

Could you be a little more specific on the use of the SSI? I've not used them before. I added in your text, changed the path, enabled SSI for .html pages on IIS. I don't know what's supposed to actually happen. And then what can you do with it?

Thanks,

Carrie

Posted

Hi, sorry to be so long replying. The SSI are a command set that is native to Unix and Linux and also ported to Webstar with the same syntax. I believe that NT webservers also support it, but the syntax might be different. The example I posted should work on all three platforms, but you'll have to check the manual for one of Mr G's boxes!

It's actually a really simple language with not many actions, but as you can nest a lot of simple commands you can do quite a lot. Its great advantage is that it is totally server-side and the commands don't get transmitted at all, so it can be more secure that either cookies or Javascript in the page, both of which can be read by the nerds.

regards, jeff

[ December 04, 2001: Message edited by: Jeff Spall ]

  • 1 month later...
Posted

Try [FMP-Link: ] You can read more about it in the "CDML Reference" database.

Also, look at [FMP-ClientAddress] and [FMP-ClientIP].

All the best.

Garry

[ January 25, 2002: Message edited by: Garry Claridge ]

  • Newbies
Posted

Carrie (or anyone):

Did you get this to work with SSI?

How would this be done on NT and using the built-in FileMaker Unlimited webserver, which doesn't support SSI?

Thanks in advance.

This topic is 8329 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.