EPrints Technical Mailing List Archive

Message: #05682


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] redirecting to external URLs


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!

Cheers,

 

 

Alan Stiles

Digital Repository Developer

Library Services, The Open University

oro.open.ac.uk

 

-- 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.