Results 1 to 4 of 4

Thread: Cookie Question

  1. #1

    Thread Starter
    Addicted Member theonetrueace's Avatar
    Join Date
    Jan 2002
    Location
    South Alabama
    Posts
    196

    Cookie Question

    i'm using the DownloadWorker file downloading class which i found on this board. i'm creating a small macro-type app that will visit a set of pages on a site...but i want to be logged in while doing so. i dont want to use the webbrowser control bc its slower bc of loading the pictures and running javascripts, flash and such...the site is using a cookie to do the login, would it be possible to simulate a cookie, so the site would think im logged in?


    AcE

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    Without knowing anything about the program you're referring to... typically the server dishes out the cookie, and the information contained within it could be time-sensitive (session Id's), which would mean using an expired sessionID may not be valid.

    IF the cookie is simply an automatic logon (in that the cookie is set to expire 6 months to a year from now), then it may work.

  3. #3

    Thread Starter
    Addicted Member theonetrueace's Avatar
    Join Date
    Jan 2002
    Location
    South Alabama
    Posts
    196
    well the application just downloads the same webpage over and over....the thing im wondering is how to firstly get the cookie from the server in the beginning, and then how to use it....if any1 has any information, any at all, i would love to get multiple takes on this issue..

    AcE

  4. #4

    Thread Starter
    Addicted Member theonetrueace's Avatar
    Join Date
    Jan 2002
    Location
    South Alabama
    Posts
    196
    i was talking with a coworker, who does some programming, mostly asp. he said the cookie was sent to the server everytime the page is loaded.....what i need to know is exactly when to send the cookie...i also want to create a login script, so i will need to know when to look for the cookie being passed to me....I NEED IDEAS PPL.....i know there are great minds on this board...holla if ya hear me

    AcE

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width