November 28, 200124 yr 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
November 28, 200124 yr 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
November 28, 200124 yr Author 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
December 2, 200124 yr 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 ]
January 25, 200223 yr 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 ]
January 26, 200223 yr Newbies 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.
January 26, 200223 yr Author I didn't, but if you find out, I'd be interested in knowing. I gave up on it.
Create an account or sign in to comment