Hello Pdontthink,
On Friday, December 13, 2002, [EMAIL PROTECTED] wrote...

> Jonathan is absolutely correct. Although I personally find it
> rediculous that start_session needs to be *per-page* even within a
> single HTTP request (this is insane - it's the only HTTP
> request-based architecture I know of that works like that), it is
> what it is.

  I correct myself. It's not per page, but per 'request'. If a file is
  'included' in another page, then the session variables will be
  passed down to that page too. If however the page is redirected to,
  via header command for example, the session is closed, and you have
  to reopen it. One of my plans for 1.4/1.5 is a single includeable
  global file (maybe like src/global.php) that will contain the
  essential code to get things working, such as session_starts, and
  the extraction of some default variables such as username, but I
  have to do some planning on that.

> For the time being, turn on session.auto_start = 1 in your php.ini,
> but I will send out a modified version of vlogin shortly that should
> solve that problem for you even with session.auto_start = 0.

  Take a look at how I made a temporary solution to the spamassassin
  plugin issue.  It should get you by :)

> Thanks Jonathan!

  You're more than welcome :) Great to have you working on plugins :)

-- 
Jonathan Angliss
([EMAIL PROTECTED])



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to