Re: Security Issues?

new topic     » goto parent     » topic index » view thread      » older message » newer message

C.K. Lester writes:
> I put that in the header of the HTML page?

Just before the actual HTML...

puts(1, "Set-Cookie:myuserid=CKLESTER\n")
puts(1, "Content-type: text/html\n\n")   -- two \n's
puts(1, "<html><head><title>Welcome to C.K.'s Site</title></head>\n")
puts(1, ... etc...)

> What environment variable do I look for? How do I retrieve it?

object cookie

cookie = getenv("HTTP_COOKIE")

Note to the Paranoid: 
    No cookies are used on RapidEuphoria.com
    
Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu