in reply to Re: saving a random number while generating a new one
in thread saving a random number while generating a new one
Good responses, and since it hasn't been mentioned and (though it's a pain) you can also pass state data along using "hidden" parameters (if you've got a form/submit), and/or using cookies. Of course there are security issues with some of these approaches.