Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
done_page issue
maverick83
hello i have a cgi script in iw-bin which execute and does its task successfully ,
i am able to display a success message in data directory but
i want the page to refresh and go back to data directory after clicking on the done button
i searched on forums and found this code
[php]
sub DONE_PAGE_PARAM () { "done_page" }
# Get the value of the done page
my($donePage) = $cgi->{form}{&DONE_PAGE_PARAM};
# If the parameter has multiple values, just use its first value.
$donePage = $$donePage[0] if (ref($donePage) eq "ARRAY");
# Note: The done_page parameter will be provided
# by the CCStd and CCPro UIs. If it's not
# available, use a backwards-compatible
# refresh page.
if (!defined $donePage || ($donePage eq ""))
{
$donePage = "/iw-cc/teamsite/common/webdeskpro_refresh.html";
}
[/php]
this entry is in cgi html form
[php]
',
[/php]
any pointers regarding this will help a lot?
regards,
mav
Find more posts tagged with
Comments
maverick83
the issue is solved closing the thread