Hello everybody.

Maybe someone could help me with a session problem, occuring with FF 7.0.1
(newest) and IE8 (nothing else tested). I'm using a fresh A4D 5.0r31
installation on WinXP, default Active4d.ini file and no special handlers in
Active4D.a4l.


Here is the very simple session test web page:

-------- 8< ------------ 8< ------------------
<%
if (session id="")
        writebr("new session " + string(current time))
        session{"start.time"}:=current time
        set session timeout(10)
else
        writebr("valid session, started at " +
string(session{"start.time"})+ ", ID=" + session id)
end if
%>
<a href="index.a4d">browse</a>

-------- 8< ------------ 8< ------------------

When I newly open the browser and load the page, a new session is started.
After waiting a minute I reload the page (or click on the "browse" link, and
correctly get the message that I still have a valid session.

When I wait for a timeout and reload the page, a new session is started.
Again, I wait for 1 minute, and press Reload again. This starts ANOTHER new
session and does not prolong the last one. So I have two active sessions
from one browser. Every further Reload refreshes only the last session.

I do not understand if that's a misbehaviour or not. I do think so....

am I wrong?

  Peter


--
Angaben gemäß §35a GmbH-Gesetz:
ITServ GmbH
Sitz der Gesellschaft: 55294 Bodenheim/Rhein
Eingetragen unter Registernummer HRB 41668 beim Amtsgericht Mainz
Vertretungsberechtiger Geschäftsführer: Peter Bauer, 55294 Bodenheim
Umsatzsteuer-ID: DE182270475
_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/

Reply via email to