Leb i Sol Posted February 26, 2003 Posted February 26, 2003 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
Anatoli Posted February 27, 2003 Posted February 27, 2003 Both Y In Lasso this is 1000 times easier. The costs of Lasso will be saved after 1 month of Token programming.
Leb i Sol Posted February 27, 2003 Author Posted February 27, 2003 OK great! How do we do the passing with links ? 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
Unable Posted February 27, 2003 Posted February 27, 2003 " 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.
Leb i Sol Posted February 27, 2003 Author Posted February 27, 2003 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
Unable Posted February 27, 2003 Posted February 27, 2003 [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.
Leb i Sol Posted February 27, 2003 Author Posted February 27, 2003 {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!
Unable Posted February 28, 2003 Posted February 28, 2003 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.
Leb i Sol Posted February 28, 2003 Author Posted February 28, 2003 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 ) 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now