[v-webmail] Re: Session

  • From: "Richard Heyes" <richard@xxxxxxxxxxx>
  • To: v-webmail@xxxxxxxxxxxxx
  • Date: Fri, 15 Aug 2003 22:44:56 +0100

Paula <priscilla@xxxxxxxxxxxxxxxxx> wrote:

> Hi, I have a problem with session when try to implement v-webmail,
> I'll be very grateful if some one could help me ;)
> Well, the problem is: The webmail is balanced at 5 servers, so when a user
> log in webmail, he is redirect to a server, but at any moment he could be
> redirected
> to another of 5 balanced servers... so, the user's v-webmail session be
lose,
> and when
> the user is redirected, other session starts, but I need that when the user
is
> redirected to other server, don't lost his session.
> I would like to know if some one had this same problem and if some one,
could
> help me to
> find a solution.

You should look into having PHP store it's session data in a database located
on a separate server or one of the web servers. You can do this using the
custom session handler capabilities:

http://uk.php.net/manual/en/function.session-set-save-handler.php

-- 
Richard Heyes
_________________________________________________________
This mail sent using V-webmail - http://www.v-webmail.org

-- 
V-webmail Support Mailing List (http://www.v-webmail.org)
Archives: //www.freelists.org/archives/v-webmail/
To unsubscribe, send mail to: v-webmail-request@xxxxxxxxxxxxx
  with "unsubscribe" in the subject

Other related posts: