Radoslaw_74539
Apr 16, 2010Nimbostratus
tcl set command limit in iRule
Hi There,
I'm trying to find some info about the limitation for the tcl set command in iRule.
Basically for the following code:
when RULE_INIT {
set ::i 0
set ::reqkey rrr
}
when HTTP_REQUEST {
HTTP::header insert "Cookie" $::reqkey=$::i
incr ::i 1
}
what is the maximal value I can expect the variable "i" can be assigned to?
I'm new in TCL but have some programme background form c,c++, perl/python.
I looked at below links and try to search in the forum. But didn't find my answer.
http://tmml.sourceforge.net/doc/tcl/set.html
http://tmml.sourceforge.net/doc/tcl/SetVar.html
Thanks in advance
Rado