MiniVend Akopia Services

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

Re:



I use
[if type=session term=username op="=~" compare="/[var ADMINUSER]/"]


Chris

"Tamás Kõhegyi" wrote:
> 
> ******    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: