[thelist] [OT] just a random tip
Scott Dexter
sgd at ti3.com
Tue Feb 6 16:26:43 CST 2001
> When using cookies for something halfway important, be wary
> of using the
> simple variable method, even if PHP does make it easy. If you use
> $random_cookie and just expect it to be there, you don't know
> if it came
> from a cookie or from some evil rodent putting
> ?random_cookie="malicious
> value" in the url bar. Use
> $HTTP_COOKIE_VARS["random_cookie"] instead.
ah, this is a gooder, and applies to ASP as well =)
<tip type="ASP">
Request("somevariable") can be in any one of the following collections:
Query String
Form Post
Cookie
Client Certificate
Server Variables
-oh, and that's the order they're searched in, btw
</tip>
sgd
--
work: http://www.ti3.com/
non: http://thinksafely.org/
> -----Original Message-----
> From: April [mailto:april at farstrider.org]
> Sent: Tuesday, February 6, 2001 2:53 PM
> To: thelist at lists.evolt.org
> Subject: [thelist] [OT] just a random tip
>
>
> I'm proud of myself for figuring out a tip - please don't
> make me think of
> something off topic too. Apply it to the Chicago person or
> something. :P
>
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
>
More information about the thelist
mailing list