Hiya all
tried to answer back to my last post but it kept timing out maybe it was too
long - anyways I just wondered if there was anything else i can try :(
If port 8180 keeps the sessions but port 80 keeps recycling sessions surely
it must be an issue with mod_jk I have also tried mod_jk2 and
Hi all
I had as a test used seperate engines for each virtual host but instead it
loaded up one of the virtual hosts on both and the site that had the wrong
virtual host loaded up seemed to keep the session ID .
Anyhow here are the configs.
The first 2 is what is currently running the last 2 are
Right, the correct syntax is to replace 'balancer' with the worker name.
In my 5.5.12 configuration I use 3 workers, 1, 2 and 3 and a balancer
worker, 0.
#
worker.worker0.balance_workers=worker1,worker2,worker3
worker.worker0.sticky_session=true #may be default
In conf/server.xml I have different
Vahid Hedayati wrote:
Nah no good
I added in 3 lines after trying the first one and none of it does anything
different as in it still keeps changing session ID's :(
worker.balancer.sticky_session=true
This is by default.
worker.worker1.balancer.sticky_session=true
worker.worker2.balancer.st
.balancer.sticky_session=true | false
>
> Not sure if the option can be use for regular workers as well, but might
> worth a try.
>
> Long
> www.edgesoft.ca
>
> - Original Message -
> From: "Vahid Hedayati" <[EMAIL PROTECTED]>
> To: "Tom
orth a try.
Long
www.edgesoft.ca
- Original Message -
From: "Vahid Hedayati" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, March 21, 2006 9:13 AM
Subject: Re: keeping same session via apache2 mod_jk2 and tomcat5
Hi
Yep i know these was all for
Hi
Yep i know these was all for the purpose of testing
Now that all virtual hosts are under 1 engine both sites shows the correct
servlets but both still keep changing session ID the PersistentManager has
been off for a long time too..
http://www.greenlightproductions.co.uk/servlets/SessionExam
Hi Vahid,
there some things in your configuration, which are at least problematic, maybe
even faulty:
- One would be quite enough and your config would be much simpler
simply put your 2 hosts into it
- The
could also create problems if configured incorrectly.
Try simply removing it,
ok
this is where it starts to get bizzare...
http://www.greenlightproductions.co.uk/servlets/SessionExample
This now works (as in it is keeping the same session ID )
but it is showing the wrong servlets folder (as in for wrong virtual host
and showing the tomcatid of that virtual host)
Since b
Hi,
please check your browser. I think you have cookies disabled for any reason.
(or cookies are disabled in your tomcat app)
yould check with ethereal or try using cookie-less mode with
response.encodeURL(hyperlink)
hope this helps
R.
Am Freitag, 17. März 2006 13:35 schrieb Vahid Hedayati:
>
gt; Sent: Monday, March 20, 2006 7:05 AM
> To: Steve Ochani
> Cc: users@tomcat.apache.org
> Subject: Re: keeping same session via apache2 mod_jk2 and tomcat5
>
> Ok..
>
> I am now using mo_jk rather than mod_jk2 and sessions still keeps changing
>
> It is running
March 20, 2006 7:05 AM
To: Steve Ochani
Cc: users@tomcat.apache.org
Subject: Re: keeping same session via apache2 mod_jk2 and tomcat5
Ok..
I am now using mo_jk rather than mod_jk2 and sessions still keeps changing
It is running on:
Apache/2.0.55 (Debian) mod_jk/1.2.14 mod_chroot/0.5 mod_perl/
Ok..
I am now using mo_jk rather than mod_jk2 and sessions still keeps changing
It is running on:
Apache/2.0.55 (Debian) mod_jk/1.2.14 mod_chroot/0.5 mod_perl/2.0.2
Perl/v5.8.8
_
more /etc/apache2/mods-enabled/jk.load
LoadModule jk_module /usr
Hi,
On 17 Mar 2006 at 12:35, Vahid Hedayati wrote:
> Hi All.
>
> Have been looking for a few days now for a fix for this one issue that
> I just cannot get around..
>
> Basically
>
> If I run
> http://www.greenlightproductions.co.uk/servlets/SessionExample
>
> The session ID keeps changing i
Hi All.
Have been looking for a few days now for a fix for this one issue that I
just cannot get around..
Basically
If I run
http://www.greenlightproductions.co.uk/servlets/SessionExample
The session ID keeps changing if you refresh the page
(same goes for all other servlet code I been using
15 matches
Mail list logo