<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
On 18/05/2011 19:18, Steve Glendinning wrote:
<blockquote
cite="mid:BANLkTimFZZ6evKw67N_3wyRASBdfwyqi7Q@mail.gmail.com"
type="cite">Hi <a moz-do-not-send="true" href="http://zend.to">zend.to</a>
community,
<div><br>
</div>
<div>First of all, thanks loads for the amazing <a
moz-do-not-send="true" href="http://zend.to">zend.to</a>
project, it's a really handy tool.</div>
</blockquote>
Thanks!<br>
<blockquote
cite="mid:BANLkTimFZZ6evKw67N_3wyRASBdfwyqi7Q@mail.gmail.com"
type="cite">
<div><br>
</div>
<div>I have it deployed here on a dual-stacked server (IPv4 and
IPv6). When accessing the site via IPv6, Apache serves the php
pages fine but the application doesn't work as expected. It
allows a user to log in, but then if I re-request the same page
it "forgets" I'm logged in and asks me to log in again.</div>
</blockquote>
That is usually caused by cookie problems, but I will check other
causes and set up an IPv6-only site to test it.<br>
<blockquote
cite="mid:BANLkTimFZZ6evKw67N_3wyRASBdfwyqi7Q@mail.gmail.com"
type="cite">
<div><br>
</div>
<div>I had a quick look through the code to see if I could spot
anything. One IPv6 issue I saw that probably isn't the cause of
this (but isn't going to help further down the line) is the
database contains 15 character text fields for IP addresses.
These will need to be longer to hold an IPv6 address. Maybe
other code also assumes the same?<br clear="all">
</div>
</blockquote>
I can change the database schema to fix this, but it will only help
future installations and not current ones. I haven't specifically
excluded IPv6 from the code, but will give it a look, as we are very
pro-IPv6 in my department.<br>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CITP CEng
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
'Teach a man to reason, and he will think for a lifetime.' - Phil Plait 'All programs have a desire to be useful' - Tron, 1982
</pre>
</body>
</html>