BigMan157 no u 103354 Posts user info edit post |
(using PHP as a base for this)
say i was one one site and wanted to make a widget to access my TWW inbox
is there any way to copy over the stored TWW cookies and use them?
Alternately and probably preferably, how about having them inputed from the remote site, then stored as cookies of that site and passed along to TWW?
can cURL do this and if so how/examples plz? (never used curl before)
any help would be appreciated 1/5/2009 8:05:00 PM |
Aficionado Suspended 22518 Posts user info edit post |
pm qntmfred
[Edited on January 5, 2009 at 8:08 PM. Reason :
1/5/2009 8:08:14 PM |
ScHpEnXeL Suspended 32613 Posts user info edit post |
Quote : | "say i was one one" |
1 11/5/2009 8:22:02 PM |
Tiberius Suspended 7607 Posts user info edit post |
export your cookies from Firefox or whatever browser you use, or use something like the TamperData add-on for Firefox to capture the session cookie
the session (used to) never change, I think it may change on login now but probably doesn't expire otherwise, but in either case you just need this to continue the session
after you capture the session cookie you can then use wget, lwp, etc with the appropriate option to load the cookies after exporting them to a cookies.txt file
e.g. wget --load-cookies ~/tww-cookies.txt http://www.thewolfweb.com/mail_inbox.aspx
*I can't seem to locate my session cookie in cookies.txt so I assume it's now a temporary cookie, you'll have to use something like TamperData to log it probably then
[Edited on January 5, 2009 at 9:06 PM. Reason : *] 1/5/2009 9:03:58 PM |
BigMan157 no u 103354 Posts user info edit post |
i need to to be all scripted, regardless of the browser/addons though 1/6/2009 8:14:34 AM |
BigMan157 no u 103354 Posts user info edit post |
http://www.weberdev.com/get_example-4555.html helped a bunch if anyone's curious 1/6/2009 5:55:56 PM |