Current location: Hot Scripts Forums » Programming Languages » Perl » Redirection back to a page from form submit


Redirection back to a page from form submit

Reply
  #11 (permalink)  
Old 06-04-04, 12:59 PM
rus rus is offline
New Member
 
Join Date: Jun 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks!

Thanks much for posting this! Had a problem with a required redirect on submit that just wasn't working. This works like a charm.

Quote:
Originally Posted by DAL
print <<"EOF";
<META http-equiv="refresh" content="0;URL=http://www.24sos.co.uk/Internal/boards_General.pl">;
EOF


There it is ! the solution to the problem! Meta Refresh
Change 0 to anything else for further delay of seconds ie;
print <<"EOF";
<META http-equiv="refresh" content="4;URL=http://www.24sos.co.uk/Internal/boards_General.pl">;
EOF

Would delay the redirection for 4 seconds.
Cool
Reply With Quote
  #12 (permalink)  
Old 03-21-05, 02:45 PM
rspeight rspeight is offline
New Member
 
Join Date: Mar 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Remember the redirect is a header

Remember that the CGI redirect is a header. Often if you have any data print before the redirect command is issued it will not function.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
redirect on form submit simone PHP 11 11-25-03 12:01 PM
Why I always get \' and \" after I submit the form ! kevin PHP 4 11-24-03 04:57 AM
question on form and submit TxRanger JavaScript 2 11-03-03 11:28 AM
process form without press submit button azwani JavaScript 1 11-03-03 01:10 AM
passing array to hidden fields in form on next page? seala ASP 2 09-04-03 02:40 PM


All times are GMT -5. The time now is 04:46 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.