This code isn't working. whats missing?
#!/usr/bin/ruby -w
require "cgi"
$appcgi = CGI.new
puts $appcgi.header
$username = $appcgi.cookies['user']
puts "\r\n$username"
|
|
+ Reply to Thread
Results 1 to 1 of 1
Thread: Ruby - read cookie
Thread InformationUsers Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
|
Bookmarks