dbTalk Databases Forums  

CDML Find User Record at Logon

comp.databases.filemaker comp.databases.filemaker


Discuss CDML Find User Record at Logon in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Colin Bannister
 
Posts: n/a

Default CDML Find User Record at Logon - 08-12-2003 , 11:30 AM






I am developing a web application secured by FM Web Security DB.

The application initially accesses a Users DB which designates the rights
that user has. The UserName in the UsersDB is the same as that used in the
Web Security DB. Therefore the UserName should equal [FMP-ClientUserName]

What I need to achieve is to access that users record within the Users DB as
soon as the user has logged on.

My default page simply contains a button with a link which will prompt the
login screen it. I am trying to use the link:
<A
HREF="FMPro?-db=WWWusers&-lay=Web&-format=welcome.htm&UserName=[FMP-ClientUs
erName]&-find">

to access my users page and display their various rights etc etc
unfortunately the link won't work. I assume at the time the link is invoked
[FMP-ClientUserName] has not been asssigned. Does anyone have a workaround?

TIA
Colin Bannister



Reply With Quote
  #2  
Old   
Colin Bannister
 
Posts: n/a

Default Re: CDML Find User Record at Logon - 08-13-2003 , 02:53 AM






Sorted it Guys, if anyone's interested this little baby worked for me:

<meta http-equiv="refresh"
content="0;url=http://localhost/FMPro?-db=WWWusers&-lay=Web&-format=search2.
htm&UserName=[FMP-ClientUserName]&-find">

Refresh and redirect to a copy of the format file.

Regards
Colin Bannister


"Colin Bannister" <colin (AT) nospambannister (DOT) me.uk> wrote

Quote:
I am developing a web application secured by FM Web Security DB.

The application initially accesses a Users DB which designates the rights
that user has. The UserName in the UsersDB is the same as that used in the
Web Security DB. Therefore the UserName should equal [FMP-ClientUserName]

What I need to achieve is to access that users record within the Users DB
as
soon as the user has logged on.

My default page simply contains a button with a link which will prompt the
login screen it. I am trying to use the link:
A

HREF="FMPro?-db=WWWusers&-lay=Web&-format=welcome.htm&UserName=[FMP-ClientUs
erName]&-find"

to access my users page and display their various rights etc etc
unfortunately the link won't work. I assume at the time the link is
invoked
[FMP-ClientUserName] has not been asssigned. Does anyone have a
workaround?

TIA
Colin Bannister





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.