Sponsored Content
Top Forums Shell Programming and Scripting wget - cookie with expiration date Post 302502714 by DGPickett on Tuesday 8th of March 2011 04:57:51 PM
Old 03-08-2011
It might be encoded or enciphered. Steal the cookie from a browser?

Once it gets started, does curl save new cookies? Yes, with the cookie-jar!

Do you have a cookie-Jar? Smilie
 

10 More Discussions You Might Find Interesting

1. Linux

Cant locate CGI/Cookie.pm

hi frnds i m getting this error whenever i m trying to run otrs in my web browser. http://ipaddr /otrs/index.pl " 500 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your... (1 Reply)
Discussion started by: naik_mit
1 Replies

2. Shell Programming and Scripting

cannot use the same script to read cookie

Hi all, I am using the following code to read a cookie. when this script is hosted on a unix server(solaris) it runs perfect. but when executed on a windows machine cannot retrieve the cookie. --------------------------------------- # Modules used use CGI; # Create an object of CGI... (0 Replies)
Discussion started by: azmathshaikh
0 Replies

3. UNIX for Dummies Questions & Answers

using wget with date variables

I have a url that I need to get using wget. This url string needs to contain two values referring to today's date and a date 3 months from now. I have it mostly finished, I think, but am having difficulty with concatenating the date variable with the url string. today=`date "+%m%d%Y"`;... (2 Replies)
Discussion started by: alternapop
2 Replies

4. UNIX for Dummies Questions & Answers

find out expiration date

I want to know when my account is gonna expire. Is there a shell command that tells this? (11 Replies)
Discussion started by: gilbav
11 Replies

5. Solaris

Expiration date of user account

Hi, How to check user account expiration account in user mode for SunOS 5.10? In Linux I can use chage command. I googled for answer for the problem but it was useless. Oskar (9 Replies)
Discussion started by: oskard
9 Replies

6. Shell Programming and Scripting

how to use WGET command to get today's date?

I need to get the current date off a remote site, such as Google or Yahoo. Does anyone know how to use the wget command on a Solaris 10 system to do this? I recall a long time ago, where using "wget" will get a bunch of info off a site, and then, you can extract the date from all of that info. ... (6 Replies)
Discussion started by: newbie09
6 Replies

7. What is on Your Mind?

Neo's passport expiration date.

I found this to be a bit of a disturbing coincidence. youtube.com/watch?v=CxW79CwSK9M&hd=1 (0 Replies)
Discussion started by: absorber
0 Replies

8. Shell Programming and Scripting

Problem with wget and cookie

Dear people, I got a problem with an scrip using wget to download pdf-files from an website which uses session-cookies. Background: for university its quite nasty to look up weekly which new homeworks, papers etc. are available on the different sites of the universites chairs. So I wanted a... (1 Reply)
Discussion started by: jackomo
1 Replies

9. Shell Programming and Scripting

Cookie authenticationn

I am trying to wget to retrieve a file from an ubuntu server. I believe I need a cookie authentication, but am am having trouble. I am reading the maual and it is not making sense. I have also tried wget http://..... --username=... --password=... Thank you. (2 Replies)
Discussion started by: cmccabe
2 Replies

10. HP-UX

How to check password expiration date of particular user?

Hi Guys, I am new to HP-UX and want to find expiration date of particular user please also note i don't have root access on that server. for e.g. i have user abc on my HP box and want to know when its password going to expire and also when its password changed last time. I also try to... (7 Replies)
Discussion started by: Yasin Rakhangi
7 Replies
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)
All times are GMT -4. The time now is 02:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy