returning one instance of an object per request

2001-07-06 Thread Jay Buffington
Hi, I'm building a web application that has a User perl module. I have several other perl modules that need to know the user id of the current logged in user (or 0 for a guest user). I was thinking that I could write the User class in such a way that every time (except the first) a

Re: returning one instance of an object per request

2001-07-06 Thread Perrin Harkins
I'm building a web application that has a User perl module. I have several other perl modules that need to know the user id of the current logged in user (or 0 for a guest user). I was thinking that I could write the User class in such a way that every time (except the first) a constructor was

Re: returning one instance of an object per request

2001-07-06 Thread darren chamberlain
Jay Buffington [EMAIL PROTECTED] said something to this effect on 07/06/2001: I'm building a web application that has a User perl module. I have several other perl modules that need to know the user id of the current logged in user (or 0 for a guest user). I was thinking that I could write