Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Displaying first and then continue processing?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
gawan
Smarty Rookie


Joined: 29 Apr 2003
Posts: 9

PostPosted: Wed Jun 30, 2004 11:10 am    Post subject: Displaying first and then continue processing? Reply with quote

I have a form, that when submitted goes to a script that takes some time to process. I tried to use a template for the processing script that simply says 'Processing your request, please wait...', but it did not work, the script wants to process first and then display.

All this is to avoid users submitting the form more than once.

I also tried to use a middle scrtipt that would show the 'please wait' note and then transfer the processing to tha actual processing script. But to show the note the smarty displau command would have to be above the redirect command, and the redirecting won't execute. It seems that there is no executing after a display() command?

Any advice would be appreciated
(I don't want to use javascript, as I use graphical image for the submit tag)

thank you
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP