Newbies Stuart Posted March 12, 2003 Newbies Posted March 12, 2003 Can any one help me, I am new to FMP, what I am trying to do is open basic realm Username and Password this works, and the inlineaction works but CurrentFoundCount does not work, so the basic realm will go on for 3 counts and then will access denied.htm. I would appreciate any help. Thanks Stuart. [FMP-Header] HTTP/1.0 401 Unauthorised MIME-Version: 1.0 WWW-Authenticate: Basic realm="Registered User" [FMP-InlineAction: -db=contact security_.fp5, -lay=frmsecurity, username="{ClientUserName}", password="{ClientPassword}",-find] [FMP-IF: CurrentFoundCount .eq. 1] <meta http-equiv="refresh" content="2;URL=FMPro?-DB=contact&- lay=frmview&-Format=contact_db/frmview.htm&-sortfield=company&- max=1&-Find"> [/FMP-IF] [/FMP-InlineAction] [/FMP-Header] [FMP-Include: contact_dbdenied.htm]
Garry Claridge Posted March 13, 2003 Posted March 13, 2003 I'm not sure about the [FMP-If] tag within the [FMP-InlineAction] tag. Test with just a simple [FMP-If] statement to see if the If is working. Good Luck. Garry
Newbies Stuart Posted March 13, 2003 Author Newbies Posted March 13, 2003 [FMP-IF] tag does work I think I may have the CurrentFoundCount coded wrongly.
Pupiweb Posted March 13, 2003 Posted March 13, 2003 Are you sure you need the "" around {ClientUserName} ? I seem to recall you shouldn't
Recommended Posts
This topic is 7995 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 accountSign in
Already have an account? Sign in here.
Sign In Now