[Midas] redirect()
Zach Mullen
zach.mullen at kitware.com
Mon Jul 9 20:55:47 EDT 2012
Redirect would be appropriate if you wish to send them an HTTP redirect
response header.
On Mon, Jul 9, 2012 at 5:28 PM, Mona Wong <mona at sdsc.edu> wrote:
>
> Hi:
>
> I'm writing a controller that can allow authorized user to
> download files (XML and PNG) previously saved in $this->getTempDirectory().
> I am wondering if there a way already setup in Midas to do this or should
> I roll my own?
>
> I looked at the module/api/controllers/components/ApiComponent.php
> download code and see calls to $this->redirect(...) which calls
> $this->_redirect(...) but I couldn't find where _redirect() is defined to
> try and understand if I should use it or not.
>
> All tips are welcome (:
>
> thanks,
> Mona
>
>
> *********************************************
> Mona Wong
> Web & iPad Application Developer
> San Diego Supercomputer Center
>
> "Forgive everyone everything."
> -- Regina Brett
> *********************************************
>
>
>
>
> _______________________________________________
> Midas mailing list
> Midas at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/midas
>
--
Zach Mullen
R & D Engineer
Kitware Inc.
919-869-8858
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/midas/attachments/20120709/ac1b54ee/attachment.html>
More information about the Midas
mailing list