[ic] pass variables don't work rigth

Stefan Hornburg Racke interchange-users@lists.akopia.com
Thu May 17 08:53:01 2001


"Stefano Nota" <stefano@register.it> writes:

> Hi,
> 
> In a page i created this link:
> <a href="[area href=index_new arg=2]">Italiano</a>
> 
> I receive the variable arg with [data session arg].
> But i want it to be tested so  i wrote this:
> 
> [set var][data session arg][/set]

use [seti var][data session arg][seti] or [tmp var][data session arg][/tmp]
instead.

> [if var = 1]

sorry, but this is a complete failure. You can use

[if session arg == 1]

or with the scratch variable above

[if scratch arg == 1]

Bye
        Racke

-- 
Master of Swiss Web 2001: http://www.zweifel.ch/

For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)