|
Posted by Gordon Burditt on 10/21/97 11:34
>And while Im at it... should I be using PHP's built in sessions, or use
>my own functions that I've chobbled together from various sources and
>takes advantage of also validating IP Addresses???
Using sessions does not prohibit you from also validating IP
addresses. Record the IP address in the session and compare it to
later ones. You should be aware that validating IP addresses can
make your site unusable for people using round-robin proxies, which
may make requests for parts of the same page appear to come from
several different IP addresses. Perhaps you don't care about this
(if it's a private web site for use from the office LAN, you very
well might not).
>I don't like to use things just because they're there. Im currently
But if you spend all your time inventing a replacement for the
ASCII character set or HTML, you will never get much useful done.
>rewriting a web front end to a helpdesk. The old one was written in ASP
>and very very poorly structured and programmed. Im blazing in with PHP
>and unfortunately SQL Server and I've got about 50% of it done in about
>2 days...
>Of course, they won't let me build any extra bits in, and they're not
>willing let me expand it into all singing all dancing despite me
>volunteering my own time... grrr grrr grr...
>Still there's the nagging doubt that Im probably not doing things right,
>Sessions being one of them.... how to split templates out properly and
>giving enough flexibility to enable Error Messages to be returned... etc...
Gordon L. Burditt
Navigation:
[Reply to this message]
|