in reply to Why does back-buttoning to a cgi script-output page yield 'Page expired'?

I'm still a newbie, but I ran into this yesterday. I wanted to be able to return from a sub that required a variable to be set

if $hidden_string eq "true"{ &dothis; }
To avoid all the problems with hitting the back button, I changed it to this
if (defined($hidden_string)){ $hidden_string = ""; &dothis; }

Originally posted as a Categorized Answer.