Caravan Business Server>Examples>Persistant Variables
Persistant Variables
if temp(cnt) "I have been here ";temp(cnt);" times
" temp(cnt)+="1" else "I am here for the first time
" var temp temp(cnt)="1" temp(persistent)="true" endif
The value of the persistent variable remains for the whole session. you can see here that every time u visit the page or refresh the page the value gets incremented.
View Code
Back
© Copyright 2002 Niti Telecom Consultancy. All rights reserved