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

Passing TOKENS with LINKS - Capure token passed


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

Recommended Posts

Posted

is this possbile?

pass the token using link and then on the page that accpets it - > capture it again? or the passing is done only by forms?

Y or N

thankyouhardworkingpeople smile.gif

Posted

OK great! How do we do the passing with links ? smile.gif

Lasso...I know but my budget is controlled by The Big Man...my boss

so no Lasso for me unless I want to use it to hang myself for ever saying I can program. If it was up to me and my skills I would have just done (yes the other one) ASP+ Access since that's what I know and at "0" cost...but nooooo Boss likes FM so HE can make some Layouts.... on the other side I AM LEARNING CDML which is always a + regardless of techniques!

My Project is a temp solution and we have been using IWP but...you know the limitations of that...so here I am in Forum looking for a few concepts that Work and some Security with it...that's all smile.gif

Posted

" How do we do the passing with links ?"

Pretty much the same as we do passing with a Form Action.

An example of a link (a href) which sets a token is provided in the CDML Reference Database.

Posted

OK I tryed that but there is still an error...

<a href="-DB=Contacts.fp5&-Format=format.html&-Token=The+Token&-View">Set a token</a>

[1] I am confused with "The+Token" part..should that be [FMP-CurrentToken] if I have just "accepted" it and want to pass it to the "format.html"?

[2] to follow up - is it better to use Forms or Links...what compiles faster?

thanx...again smile.gif

Posted

[1]Not necessarily. A token could be set as FMP-CurrentRecID or FMP-Field:fieldname or a variety of FMP tags.

[2]No compilation difference. Form or Link is a matter of choice/need/style.

Posted

{1} I thought that the only way to Capture Arrival Token ( now that I said it sounds like Tokens have a life ..LOL) is to use [FMP-CurrentToken]

...passing a token with a link to next page where link grabs it....hm interesting!

(2) nice..good to know every bit of Compiling speed is usefell!

Thanx Unable!

Posted

Most commonly a token is grabbed from a db file's record. It can then be passed from format file to format file, and ultimately back to a db file. The RecordID is one of my favorites to pass around as a token in many navigations. Beginning with versions of FMPro 5 + we have ability to handle up to ten tokens.

Posted

great thats what I have been using to construst so far

see post

(http://www.fmforums.com/threads/showflat.php?Cat=&Board=UBB22&Number=58748&PHPSESSID=&fpart=1#Post58748)

If you like tokens...you would be Very happy with SessionVariables in ASP ( I know not this forum's topic smile.gif)

since you do not have to remember them nor pass them and yet can call them at any page any time...server does it for you...if you use Dremweaver(MX or UD) you dont even have to type it but click-drag-drop...nice ha!.....just a programming moment here smile.gif

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