Re: How to build a web application the right way



Anthony Smith wrote:
I am looking into building a web application and one of the things I
want to do is to make sure the user is logged in. I know I can do this
by checking the session for a user object or something similar. Is
there a best practice for this. Currently what I do is have each page
include a check session include file.


Yep, that's what I do.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.



Relevant Pages

  • Re: Session Problems
    ... Jerry Stuckle wrote: ... the session is no longer valid. ... JDS Computer Training Corp. ... And what happens if you put the code I gave you immediately following the <?php tag? ...
    (comp.lang.php)
  • Re: Strange Session error please help
    ... because PHP was compiled without session support). ... Jerry Stuckle ... JDS Computer Training Corp. ...
    (comp.lang.php)
  • Re: Session Problems
    ... Jerry Stuckle wrote: ... the session is no longer valid. ... JDS Computer Training Corp. ... What's the actual failing code? ...
    (comp.lang.php)
  • Re: PHP Session variable disappearing when browsers is redirected
    ... session variable is wiped. ... sessions (before ANY output to the browser)? ... Jerry Stuckle ... JDS Computer Training Corp. ...
    (comp.lang.php)
  • Re: problem with session in IE
    ... Xinhao Zheng wrote: ... i have a problem with session in IE. ... Jerry Stuckle ... JDS Computer Training Corp. ...
    (comp.lang.php)