What is the lifetime of a session cookie on the server? I've been using wget to grab some data from a web server. The process I've been using is similar to what is on wikipedia[1]:
wget --keep-session-cookies --save-cookies=cookie.txt http://first_page wget --load-cookies=cookie.txt http://page_0001 wget --load-cookies=cookie.txt http://page_0002 wget --load-cookies=cookie.txt http://page_0003 ... If I were to use a web browswer such as Firefox, then the cookie would go away as soon as I close my browser. However, since I'm using wget and saving session cookies with --keep-session-cookies, I am able to keep getting one page after the other. Even after several hours I can keep using the same cookie. When will this cookie expire? Or more specifically, when will the server no longer accept this cookie? [1] http://en.wikipedia.org/wiki/Wget#Advanced_usage Regards, - Robert --~--~---------~--~----~------------~-------~--~----~ Central West End Linux Users Group (via Google Groups) Main page: http://www.cwelug.org To post: [email protected] To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] More options: http://groups.google.com/group/cwelug -~----------~----~----~----~------~----~------~--~---
