[EP-tech] redirecting to external URLs

Alan.Stiles alan.stiles at open.ac.uk
Tue May 10 14:56:59 BST 2016

So anyone know how I should be redirecting the user to an alternative URL based on some processing in a Screen action?

As it is, I'm setting the url in the action by

$self->{processor}->{redirect_to_url} = "http://example.org";

and then checking for it in

sub redirect_to_me_url {
                return $self->{processor}->{redirect_to_url};

It seems a little too hacky!

Alan Stiles
Digital Repository Developer
Library Services, The Open University

-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20160510/e704af85/attachment.html 

More information about the Eprints-tech mailing list