session riding

C

Chad Layton

When a user browses my script I'd like to grab a session cookie from the
browser, then use that cookie to request html from a site the user has
already logged in to. I've been struggling with this for a few days now,
is it even possible? It seems like it should be but I can think of a
couple of Bad Things one could do with it.

Anyways, my intentions are benign. I'd like to do some screen scraping
from a site that requires a login but I dont want to force people to
trust me with their information (at least sessions expire).
 
E

Eero Saynatkari

Chad said:
When a user browses my script I'd like to grab a session cookie from the
browser, then use that cookie to request html from a site the user has
already logged in to. I've been struggling with this for a few days now,
is it even possible? It seems like it should be but I can think of a
couple of Bad Things one could do with it.

Anyways, my intentions are benign. I'd like to do some screen scraping
from a site that requires a login but I dont want to force people to
trust me with their information (at least sessions expire).

A normal browser will only send you cookies in the same
domain as the request, so this is likely not possible.


E
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top