cookies

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • goukilord10
    Forum Member
    • Mar 2005
    • 130

    cookies

    can ams5 read cookies into tables or strings if yes how to access the internet temp cache folder where the cookies are ?
  • Corey
    Indigo Rose Staff Alumni
    • Aug 2002
    • 9745

    #2
    Hi. A cookie is a text file. So the actions "TextFile.ReadToString" and "TextFile.ReadToTable" should work fine. Hope that helps.

    Comment

    • TJ_Tigger
      Indigo Rose Customer
      • Sep 2002
      • 3159

      #3
      You can use Shell.GetFolder(32) to find the Temporary Interned Files. At least that is the number on a Win2K box.

      Tigg
      BTW here is a list of folders and their associated numbers


      SHFnum: 0 -Shell folder: C:\Documents and Settings\UserName\Desktop
      SHFnum: 2 -Shell folder: C:\Documents and Settings\UserName\Start Menu\Programs
      SHFnum: 5 -Shell folder: C:\Documents and Settings\UserName\My Documents
      SHFnum: 6 -Shell folder: C:\Documents and Settings\UserName\Favorites
      SHFnum: 7 -Shell folder: C:\Documents and Settings\UserName\Start Menu\Programs\Startup
      SHFnum: 8 -Shell folder: C:\Documents and Settings\UserName\Recent
      SHFnum: 9 -Shell folder: C:\Documents and Settings\UserName\SendTo
      SHFnum: 11 -Shell folder: C:\Documents and Settings\UserName\Start Menu
      SHFnum: 16 -Shell folder: C:\Documents and Settings\UserName\Desktop
      SHFnum: 19 -Shell folder: C:\Documents and Settings\UserName\NetHood
      SHFnum: 20 -Shell folder: C:\WINNT\Fonts
      SHFnum: 21 -Shell folder: C:\Documents and Settings\UserName\Templates
      SHFnum: 22 -Shell folder: C:\Documents and Settings\All Users\Start Menu
      SHFnum: 23 -Shell folder: C:\Documents and Settings\All Users\Start Menu\Programs
      SHFnum: 24 -Shell folder: C:\Documents and Settings\All Users\Start Menu\Programs\Startup
      SHFnum: 25 -Shell folder: C:\Documents and Settings\All Users\Desktop
      SHFnum: 26 -Shell folder: C:\Documents and Settings\UserName\Application Data
      SHFnum: 27 -Shell folder: C:\Documents and Settings\UserName\PrintHood
      SHFnum: 28 -Shell folder: C:\Documents and Settings\UserName\Local Settings\Application Data
      SHFnum: 31 -Shell folder: C:\Documents and Settings\All Users\Favorites
      SHFnum: 32 -Shell folder: C:\Documents and Settings\UserName\Local Settings\Temporary Internet Files
      SHFnum: 33 -Shell folder: C:\Documents and Settings\UserName\Cookies
      SHFnum: 34 -Shell folder: C:\Documents and Settings\UserName\Local Settings\History
      SHFnum: 35 -Shell folder: C:\Documents and Settings\All Users\Application Data
      SHFnum: 36 -Shell folder: C:\WINNT
      SHFnum: 37 -Shell folder: C:\WINNT\system32
      SHFnum: 38 -Shell folder: C:\Program Files
      SHFnum: 39 -Shell folder: C:\Documents and Settings\UserName\My Documents\My Pictures
      SHFnum: 40 -Shell folder: C:\Documents and Settings\UserName
      SHFnum: 41 -Shell folder: C:\WINNT\system32
      SHFnum: 43 -Shell folder: C:\Program Files\Common Files
      SHFnum: 45 -Shell folder: C:\Documents and Settings\All Users\Templates
      SHFnum: 46 -Shell folder: C:\Documents and Settings\All Users\Documents
      SHFnum: 47 -Shell folder: C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools

      All shell numbers and directories are real, only the username has been changed to protect the innocent. . . well me at least. . .

      This was made possible by SUF6NEWBIE
      TJ-Tigger
      "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
      "Draco dormiens nunquam titillandus."
      Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

      Comment

      • Corey
        Indigo Rose Staff Alumni
        • Aug 2002
        • 9745

        #4
        Wow. Coooooool. :yes

        Comment

        • yosik
          Indigo Rose Customer
          • Jun 2002
          • 1858

          #5
          Tigg,
          That is one of the most useful list I have come across.
          Thanks a bunch, my friend!!!

          Yossi

          Comment

          • tsbpd
            Indigo Rose Customer
            • Nov 2001
            • 72

            #6
            Uh...

            Oh my!

            Comment

            • goukilord10
              Forum Member
              • Mar 2005
              • 130

              #7
              sorry but even if i know the internet temp folder this dosent solve the problem
              cause there is many files that have the same name like Ex: 1.txt listed 10 times !
              and when i enter a full file path to a file located in temp internet folder it dosent work even in windows 'Start/Execute' ?

              Comment

              Working...
              X