Jump to content

Logging users searches


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

Recommended Posts

I am in the process of creating a web-based database running on FM server 5.5 on a Mac (if that makes a difference).

Guest users will be allowed to search through the database (having registered a username/password programmatically).

My question is this: does anyone know a good way to log what searches they perform in a separate database so that i can see which queries are most popular - so that for instance I could hardcode those searches for a 'quick search' page.

Thanks in advance.

Graeme

Link to comment
Share on other sites

The search engine found 70 inline threads.

Oh well, my code is:

code:


[FMP-InlineAction: -db=prtzlog.fp5, klic={CurrentToken: 3}, TZnSz=AKS, -New] [/FMP-InlineAction]


That will create new record in prtzlog.fp5 and populate fields klic and TZnSz vith variable {CurrentToken: 3} and with static value AKS. The record have autoenter creation date/time.

Link to comment
Share on other sites

Thanks, but I was not clear in my original query. Yes Anatoli, that is how you use inline to create a record in a separate database, but how do I capture the search criteria being deployed as it may be embedded inside the URL or have been passed to FM via a form?

I'm sure it's got something to do with the way that html is sent to the servier (or something) but I'm no web expert.

Graeme

Link to comment
Share on other sites

This topic is 8302 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.