S
Sam Ginko
I would like to know if it is possible to share Authentication cookies
between 2 url's with ruby. Does anyone know how to?
thanks
between 2 url's with ruby. Does anyone know how to?
thanks
Martin said:You can set the 'domain' (like: .example.org) and 'path' (like: /)
arguments
to the cookie. This will make the browser to send the same cookie on
different domains and paths.
The ruby cgi library supports this.
See:
http://ruby-doc.org/stdlib/libdoc/cgi/rdoc/index.html
http://en.wikipedia.org/wiki/HTTP_cookie#Cookie_attributes
martin
Martin said:You can set the 'domain' (like: .example.org) and 'path' (like: /)
arguments
to the cookie. This will make the browser to send the same cookie on
different domains and paths.
The ruby cgi library supports this.
See:
http://ruby-doc.org/stdlib/libdoc/cgi/rdoc/index.html
http://en.wikipedia.org/wiki/HTTP_cookie#Cookie_attributes
martin
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.