[ic] No CGI->{mv_nextpage} value in Autoload

Jon Jensen jon at endpoint.com
Fri Apr 4 11:38:47 CDT 2008


On Fri, 4 Apr 2008, Bill Carr wrote:

> I have following in my catalog.cfg:
> Autoload <<EOA
> [perl global=1]
> 	::logDebug('NEXTPAGE: ' . $CGI->{mv_nextpage});
> [/perl]
> EOA
>
> I don't get any value for $CGI->{mv_nextpage} in my debug log. I just
> get 'NEXTPAGE:'.
>
> Any ideas why that could be or other ways to do page redirects within
> Interchange? My example above is simplified. What I ultimately would
> like to do is redirect to the home page of the site if the user is
> following a link to an old obsolete page. The search engines have
> links to pages we do not use anymore.

Not sure if this is it, but worth a try: I believe $CGI is a Safe 
compartment construct. Try using $CGI::values{mv_nextpage} in global code.

Jon

-- 
Jon Jensen
End Point Corporation
http://www.endpoint.com/



More information about the interchange-users mailing list