For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > March 2004 > Re: [SMARTY] Force refresh?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [SMARTY] Force refresh?
Vonleigh Simmons

2004-03-19, 1:28 pm

> However, when I click on the link to edit the same item again, the
> contents of the text area still show the old data until I manually
> refresh the page.


I'm not sure how your program works, but the way I deal with it is by
sending in PHP header("Location: http://url");. Keep in mind that this
only works if you haven't already sent data to the browser.


Vonleigh Simmons [vanlei]
<www.illusionart.com/pi/>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com