# CGI cookie return

**URL:** <https://www.ruby-forum.com/t/cgi-cookie-return/119411>\
**Category:** Ruby\
**Created:** [November 6, 2007, 8:21pm UTC](https://www.ruby-forum.com/t/cgi-cookie-return/119411 "2007-11-06T20:21:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dreamwave](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/7feea3/32.png) [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Post date:** [November 6, 2007, 8:21pm UTC](https://www.ruby-forum.com/t/cgi-cookie-return/119411/1 "2007-11-06T20:21:41Z")

</div>

I’m working on a program that hops on a site and automates a process for  
me, however this site requires me to be authed. Using CGI::Cookie i’d  
like to be able to use my login cookie to get brief access to my account  
to run this process. The cookbook examples dont cover re-injecting  
cookies into a browser. Any Ideas?

Thanks!

- Mac
