User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » how can i copy and/or use cookies across domains? Page [1]  
BigMan157
no u
103352 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 1

1/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
103352 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
103352 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

 Message Boards » Tech Talk » how can i copy and/or use cookies across domains? Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.38 - our disclaimer.