Re: Re: global.asa equivalent?
From: steve (UseLinkToEmail_at_dbForumz.com)
Date: 07/15/04
- Previous message: Andy Hassall: "Re: global.asa equivalent?"
- In reply to: Andy Hassall: "Re: global.asa equivalent?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 14 Jul 2004 22:01:07 GMT
> On Wed, 14 Jul 2004 21:28:44 GMT, steve <UseLinkToEmail@dbForumz.com> wrote:
>
> >> On Wed, 14 Jul 2004 19:48:04 GMT, steve <UseLinkToEmail@dbForumz.com> wrote:
> >>
> >>>> Hi, there. In PHP, is there a file that’s equivalent to
> >>>> global.asa in ASP where you can perform initializations and
cleanup?
> >>>
> >>> I program in both. As far as I know, there is nothing like
that
> >>> in PHP. It does make sense since php is lacking [...] session
variables
> >>
> >> No, it isn’t, PHP has session variables.
> >
> > Hi Andy, I did not know php has session variables. Please
advise.
> > We are not talking about saving variables to cookies? That is
not a
> > "session variable"...
>
> http://uk2.php.net/session
>
> Session variables are not stored in cookies, they’re stored
serverside, same
> as ASP.
>
> --
> Andy Hassall <andy@andyh.co.uk> / Space: disk usage analysis tool
> http://www.andyh.co.uk / http://www.andyhsoftware.co.uk/space
Live and learn. Did not know about sessions, Andy. Thanks for the
link.
Based on my reading of that docs, sessions can either propagate via
cookies or via url tags that php would automatically add. But the 2nd
option requires building php as such (I would guess not available to
shared hosting users). So just like asp, one needs to be cautious of
cookies being enabled (unless one has access to php build).
-- http://www.dbForumz.com/ This article was posted by author's request Articles individually checked for conformance to usenet standards Topic URL: http://www.dbForumz.com/PHP-global.asa-equivalent-ftopict129432.html Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=432291
- Previous message: Andy Hassall: "Re: global.asa equivalent?"
- In reply to: Andy Hassall: "Re: global.asa equivalent?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|