MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re:



Hi Tamas....
Here is a better way...:
[if session username eq "tamas"]
[then] Admin detected![/then]
[else]  Admin not detected![/else]
[/if]
you can use insted of the "tamas" the __ADMINUSER__ varible....,

Hope I helped...

Eran Binyamin Zeitoun.


----- Original Message -----
From: Tamás Kġhegyi <tkohegyi@gw.cdk.bme.hu>
To: <minivend-users@minivend.com>
Sent: Tuesday, November 16, 1999 10:19 AM


> ******    message to minivend-users from "Tamás Kġhegyi"
<tkohegyi@gw.cdk.bme.hu>     ******
>
> Hi,
>
> I have got a variable at the catalog.cfg
>
> Variable    ADMINUSER       Myname
>
> And I would like to use it in the following condition:
>
> [if type=value term=__ADMINUSER__ op="=~" compare="/[data session
> username]/"]
> [then] Admin detected![/then]
> [else]  Admin not detected![/else]
> [/if]
>
> I mean, when the logged_in user is the ADMINUSER, write Admin detected, If
> not then write Admin not detected.
> It is simple, but not works. It is always Admin not detected. What could
be
> the reason? (Minivend 3.14-3)
>
> Or is there a simplier way to do it?
>
> Thanks,
> Tamas
>
> -
> To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to
Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
>



Search for: Match: Format: Sort by: