[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [ic] How to use value of [data session arg] in [if...] ?
Quoting Tim Murphy (tjmurphy@videotron.ca):
> Hi all,
>
> I'm trying to do a simple [if...] based on the standard arg passed from an [area...]
> link. I'm sorta stuck. What do I use as the key? I can come up with:
>
> [if data session::arg::??? eq "something"]
>
> but I have no idea what to use for ???. Just trying [if session arg] obviously won't
> give me the value for comparison. If someone could please enlighten me on this probably
> embarrassingly simple problem I would be most grateful.
>
It is just:
[if session arg eq "whatever"]
Probably more useful is a regex, like [if session arg =~ /whatever/].
Even more useful would be [perl] [/perl] if you get complex.
--
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>
My wife is great. She doesn't care where I go, just as long as I don't
have any fun. -- Lee Trevino
_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users