For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > January 2006 > Need help with Redirect and Target









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 Need help with Redirect and Target
Daniel Kaplan

2006-01-10, 3:56 am

Hi All,

All my HTML code is created with Perl scripts and everything runs off of TWO
frames within the same browser. It all works well but just ran into
something weird.

For one particuar situation I want to do everything from scratch, when
someone logs off.

The way it works is that all my web code is generated into $out_msg and then
I call:

print $q->header( );
print $out_msg;

So when I want to refresh I am trying this:

print $q->header(-target=>'_top');
print $out_msg;

but it does not obey, it starts to build NEW frames within one of the
current frames. I even tried _blank to see if it woudl open a new window,
but it does not.

Is there any other step that i am missing?

Thanks ahead,

Daniel




Sponsored Links







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

Copyright 2008 codecomments.com