Thursday 22 May 2003 5:37:12 am
hello .. now am working on workflow, will check if user had submit his data befor or not (not user data), i was trying to catch the posted value from hidden input in form : $http->hasPostVariable('CheckSubmition'); i got always false from my workflow file, but i went to content/action.php and added this line to store the value in the session vars : if($http->hasPostVariable( 'CheckSubmition') ) $http->setSessionVariable( "CheckSubmition", "CheckSubmition" ); now, from my workflow file am useing this to check the value : if ( $http->hasSessionVariable( 'CheckSubmition') )
if it`s true will call template file with msg that he have submit befor, work nice, but the value is still stored in session vars, so he cann`t browes the site, he will always get this msg ! so, i thought better if remove this value from the session after call the msg template, now is working also well, but if user click refesh will access the page :( how can i slove this, $http->hasPostVariable is not working from workflow ! the workflow setting is , content,read, befor. any help plz !
|