>On 1/18/06, Larry Lyons <[EMAIL PROTECTED]> wrote: > >First off, I believe the syntax should be >getPageContext.forward("whatever.cfm"). That being said, the thing you >need to be careful with when using the server-side re-direct is that >if you attempt to reload a page that was the result of one of these >re-directs, the data from the previous page will be re-submitted. For >example, say I have a form and want to display a "thank you" page. If >I use getPageContext.forward() to get to the "thank you" page and the >user hits reload, the form will be re-submitted. I've actually stopped >using getPageContext for that reason. > >Regards, >Dave.
to quote the great philosopher D'oh! yes I forgot the forward part. it should have read getpageContext.forward("whatever.cfm") but that's a good call about the reload. I'll have to remember that. larry ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229927 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54