wget - cookie with expiration date


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting wget - cookie with expiration date
# 1  
Old 03-06-2011
wget - cookie with expiration date

How can I create a cookie with expiration date using either wget or curl?

I am able to use cli wget, cli curl, or php curl.

I don't see that the cookies I have created contain an expiration date, and I have a problem logging into a forum that looks for the expiration date.
# 2  
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
# 3  
Old 03-08-2011
Make sure you tell wget to keep session cookies. Otherwise it won't.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question