07-22-2013
You could possibly try to save the cookies or session ids from an initial authenticated session. Experiment by using wget and look at --save-session-cookies and --keep-session-cookies (also --user, and --password) to get the initial value)
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
my host run on a Free bsd server and i have a cgi script that requires LWP module, but i my host say that that module is installed, so i would like to know if the is a command because i have telnet access to know if the module or which modules are installed on my account (itīs that the script donīt... (4 Replies)
Discussion started by: Beto
4 Replies
2. Shell Programming and Scripting
currently it has the following:
bdumpN=`ll /home/apps/oracle/admin/DBprod/bdump/DBprod_j* | grep "$Cdate" | wc -l`
If I pass the DBname, I would not have to hardcode it in the script...
I can capture the database name by adding the following:
DBname=$1
The problem is, I have been unable... (2 Replies)
Discussion started by: mr_manny
2 Replies
3. Solaris
Hi all
i want to do FTP via running a shell script and i want to hard code username and password for that particular server..
by writing it in a file can u help me in this regard..
Thank u
Naree (2 Replies)
Discussion started by: naree
2 Replies
4. UNIX for Dummies Questions & Answers
Hi
Can any one help me out ?
I am trying to send an autogenerated mail with an attachment to bulk of users using 'MAILX' and 'UNENCODE' . I have used it as follows
X " ( cat /sastemp/body.txt; uuencode Test.xls.gz Test.xls.gz ) | mailx -s 'Testing' ' abcd@yahoo.com , efgh@gmail.com ' "
... (9 Replies)
Discussion started by: manas6
9 Replies
5. Programming
This might be a silly question, but I thought I'd ask anyway. If I'm writing in C, isn't it more efficient to, for instance, use constant character variable set to 'A' instead of hard-coding a character 'A'? Since it's only a single character instead of a string, it might not matter much. (10 Replies)
Discussion started by: cleopard
10 Replies
6. Shell Programming and Scripting
Can some one tell me how to post the username and password using perl LWP. An example is sufficient.. (0 Replies)
Discussion started by: Anjan1
0 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I'm having a problem when I run the following code for example
perl -e 'use LWP::Simple; getprint "http://google.com"'
Can't locate LWP/Simple.pm in @INC (@INC contains: /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6... (7 Replies)
Discussion started by: pawannoel
7 Replies
8. Shell Programming and Scripting
Hi;
Can i have ne sample examples of of using " lwp-request" in shell script.
Is it necessary to have perl installed already in linux box for using this;
Thnks; (2 Replies)
Discussion started by: ajaypadvi
2 Replies
9. Hardware
Hi everyone
(see attachments)
I bought an HP Elitebook 8460p on eBay and it came with a password-locked Hitachi hard drive which I was told is the original hard drive. I don't know the password for the drive and running the diagnostics tools I see the hard drive is healthy. I tried booting... (9 Replies)
Discussion started by: milhan
9 Replies
LEARN ABOUT MOJAVE
curlopt_cookiesession
CURLOPT_COOKIESESSION(3) curl_easy_setopt options CURLOPT_COOKIESESSION(3)
NAME
CURLOPT_COOKIESESSION - start a new cookie session
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_COOKIESESSION, long init);
DESCRIPTION
Pass a long set to 1 to mark this as a new cookie "session". It will force libcurl to ignore all cookies it is about to load that are "ses-
sion cookies" from the previous session. By default, libcurl always stores and loads all cookies, independent if they are session cookies
or not. Session cookies are cookies without expiry date and they are meant to be alive and existing for this "session" only.
A "session" is usually defined in browser land for as long as you have your browser up, more or less.
DEFAULT
0
PROTOCOLS
HTTP
EXAMPLE
TODO
AVAILABILITY
Along with HTTP
RETURN VALUE
Returns CURLE_OK
SEE ALSO
CURLOPT_COOKIEFILE(3), CURLOPT_COOKIE(3),
libcurl 7.54.0 February 03, 2016 CURLOPT_COOKIESESSION(3)