11-21-2011
try adding the --keep-session-cookies flag (used for temporary cookies such as those used to maintain login sessions.
As an aside: "but it doesn't work" isn't enough information to offer really useful advice, you should state any errors, whether you get thrown to a login page again rather than the landing page when you normally log in etc...
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I have a situation....where I have to make a HTTPS:// connection to the third party web site to grab 5 files from their server.
I am little new to unix.
Can anyone please help me creating the shell script for making this connection and grabing or reading the files from their server to... (2 Replies)
Discussion started by: rkumar28
2 Replies
2. UNIX for Dummies Questions & Answers
Hey,
I connected with Cygwin and this command:
"ssh -Y USER@web.com"
Then trying to open a program, but this error appeared:
"Cannot open X display: DISPLAY variable unset"
what do I have to do?
Thanks.
Alex (3 Replies)
Discussion started by: alf123
3 Replies
3. Solaris
Hi everyone,
I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies
4. UNIX for Advanced & Expert Users
Hi
Script
> grep translate .bashrc
translate(){ wget -qO- "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=$1&langpair=$2|${3:-en}" | sed 's/.*"translatedText":"\(*\)".*}/\1\n/'; }
error
> translate "Ich will schwimmen" de en
{"responseData": null,... (5 Replies)
Discussion started by: slashdotweenie
5 Replies
5. AIX
Hello,
can someone tell me where the certificate store on aix 6.1 is. If I want to use wget with a https site Iam getting an error that the issuer is untrusted. Thats right because its an self sign certificate. (3 Replies)
Discussion started by: ralphk
3 Replies
6. UNIX for Advanced & Expert Users
HI !!
I have this setup where I have Windows machine and a UNIX based DUT .
I try to make a https connection from my Win to the DUT giving its IP.
But,it is not working (It should do).
What do u think the problem is ?? I checked the logs , they flag some writesocket:broken pipe error in... (1 Reply)
Discussion started by: leghorn
1 Replies
7. Solaris
Hi forums,
I was wondering if any of you have faced this problem that I have been having for quite some time now regarding serial connection with putty to my Solaris Box Sunfire v250 and Sun v220 and sun v440.
The serial connection freezes on my Windows 7 64 and 32 Bit machines.
I unplug and... (3 Replies)
Discussion started by: br1an
3 Replies
8. Shell Programming and Scripting
Hi,
I would like to download a file from a https website. I don't have the file name as it changes every day.
I am using the following command:
wget --no-check-certificate -r -np --user=ABC --password=DEF -O temp.txt https://<website/directory>
I am getting followin error in my... (9 Replies)
Discussion started by: pinnacle
9 Replies
9. Solaris
Hi Guys,
I have recently started reciving below Error message
Failed HTTPS transfer to https://supportfiles.sun.com/curl
whenever I run
/usr/local/bin/sudo /opt/SUNWexplo/bin/explorer -P -q -v
from all Servers.
Looks like the SSL certificate as Expired.
Whenever I type... (4 Replies)
Discussion started by: manalisharmabe
4 Replies
LEARN ABOUT DEBIAN
dancer::cookies
Dancer::Cookies(3pm) User Contributed Perl Documentation Dancer::Cookies(3pm)
NAME
Dancer::Cookies - a singleton storage for all cookies
SYNOPSIS
use Dancer::Cookies;
my $cookies = Dancer::Cookies->cookies;
foreach my $name ( keys %{$cookies} ) {
my $cookie = $cookies->{$name};
my $value = $cookie->value;
print "$name => $value
";
}
cookie lang => "fr-FR"; #set a cookie and return its value
cookie lang => "fr-FR", expires => "2 hours";
cookie "lang" #return a cookie value
DESCRIPTION
Dancer::Cookies keeps all the cookies defined by the application and makes them accessible and provides a few helper functions for cookie
handling with regards to the stored cookies.
METHODS
init
This method is called when "->new()" is called. It creates a storage of cookies parsed from the environment using "parse_cookies_from_env"
described below.
cookies
Returns a hash reference of all cookies, all objects of Dancer::Cookie type.
The key is the cookie name, the value is the Dancer::Cookie object.
cookie
"cookie" method is useful to query or set cookies easily.
cookie lang => "fr-FR"; # set a cookie and return its value
cookie lang => "fr-FR", expires => "2 hours"; # extra cookie info
cookie "lang" # return a cookie value
parse_cookie_from_env
Fetches all the cookies from the environment, parses them and creates a hashref of all cookies.
It also returns all the hashref it created.
AUTHOR
Alexis Sukrieh
LICENSE AND COPYRIGHT
Copyright 2009-2010 Alexis Sukrieh.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as
published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
perl v5.14.2 2012-01-28 Dancer::Cookies(3pm)