RE: Apache::Session Question

2000-11-30 Thread Renzo Toma


Apache::Session uses a cookie to identify a user. Every request will be
switched to one of the nodes in your cluster. That node will fetch the
session data corresponding to that cookie and work with it.

Mind you, Apache::Session is a great piece of software, but in balanced envs
you may need to balance your session data over multiple database. Then you
need some logic to make requests sticky.

Hope this helps,

Renzo


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: donderdag 30 november 2000 16:07
To: [EMAIL PROTECTED]
Subject: Apache::Session Question



I have read all the documentation I can find, but have not found a
clear answer about Apache::Session sharing information across load
balanced machines?  My assumption is that if I am using a database
(Oracle), that the information will be available across the load
balanced machines.  But when I look at the schema for the database, I
no longer get the feeling that it is?

Can anyone confirm this for me please?

--
C Wayne Huling [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Apache::Session Question

2000-11-30 Thread Gunther Birznieks

At 05:17 PM 11/30/00 +0100, Renzo Toma wrote:

Apache::Session uses a cookie to identify a user. Every request will be

This is an accurate reply to the message but...

I think you want to be careful with terminoloy. Apache::Session does not 
use a BROWSER level cookie. I think you are using the word cookie to mean 
session id/handle. But it's may be a bit confusing to read your message 
because the word cookie is so overloaded to mean browser cookie.

switched to one of the nodes in your cluster. That node will fetch the
session data corresponding to that cookie and work with it.

Mind you, Apache::Session is a great piece of software, but in balanced envs
you may need to balance your session data over multiple database. Then you
need some logic to make requests sticky.

Hope this helps,

Renzo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Apache::Session question

2000-05-05 Thread Francesc Guasch

Gundars Kulups wrote:
 
 Hi!
 I am sorry to ask this bit off question, but still. Has anyone used
 Apache::Session on Solaris (Sparc, not intel)?
 We implemented system on Linux (intel) and tried to port it to Solaris, but
 session doesn't work - can not create session files. Store manager used is
 FileStore and SysV locker. Could that be a reason for problems? If so what
 kind of store and locker should be used on sparc Solaris?
 
After the use Apache::Session you maybe have
to type something like this.

$Apache::Session::SysVSemaphoreLocker::nsems=16;


This has been talked here before, so maybe if
this doesn't work you can find hints anywhere in
the  list archives.
-- 
 - frankie -



Re: Apache::Session question

2000-05-05 Thread Neil Conway

On Fri, May 05, 2000 at 05:58:33PM +0200, Francesc Guasch wrote:
 [Solaris + Apache::Session]
 After the use Apache::Session you maybe have
 to type something like this.
 
 $Apache::Session::SysVSemaphoreLocker::nsems=16;

In my preliminary testing, it appears this is also necessary to get SysVSem
working on FreeBSD 3.x (I'm not running 4, but it may also apply there). Can
someone confirm this? I had some problems with Apache::Session, tried the
above fix, and it seemed to work, but I haven't used Apache::Session since, so
I can't be sure.

If it IS necessary, it should probably be added to the guide and / or comments
in the Apache::Session .pm that controls this (can't remember the filename
offhand, but it had a comment referring to Solaris + nsems=16 or 8).

TIA

-- 
Neil Conway [EMAIL PROTECTED]
Get my GnuPG key from: http://klamath.dyndns.org/mykey.asc
Encrypted mail welcomed

It is dangerous to be right when the government is wrong.
-- Voltaire

 PGP signature