Results 1 to 5 of 5

Thread: Vb6 & Cgi

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2002
    Posts
    3

    Vb6 & Cgi

    I am using VB6 with CGI and I am having difficulties reading and writinging cookies. I need to read and write the users name and password along with a little other information. I am not experienced in web development. I have my system working except for this small item. IF anyone could assist me in this endevor I would appriciate it.

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    You need to read and write them with the HTTP headers. Look up (or packet sniff for) the correct format.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2002
    Posts
    3
    I can write the cookies with the http headers but I am unable to read them, is there a variable that is passed to the program when the page loads? What is this variable and how do I retrive it?

  4. #4
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Try the HTTP_COOKIE Environmental variable.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  5. #5

    Thread Starter
    New Member
    Join Date
    Jun 2002
    Posts
    3
    Thank you very much, I have been looking forever for that variable, I knew it was HTTP_COOKIE but I was unaware that it was an enviroment variable. Thank You.

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