Hi folks!

 
I think I have another session problem and assume a bug.

 
Here is my setup:

* default Active4D.ini (at least regarding the session settings)

* the following realms.ini entry:

timecard        /timecard/

 
This A4D-Testpage, located at <web>/timecard/session.a4d:

 
<%
if (session id="")
    writebr("new session " + string(current time))
    writebr(session id)
    session{"start.time"}:=current time
    set session timeout(1)
else
    writebr("valid session, started at " + string(session{"start.time"})+ ", 
ID=" + session id)
    writebr(session id)
    set session timeout(1)
end if

%>
<a href="session.a4d">browse</a>

 
 
First I clear the cookies for 192.168.94.4 (my a4d-Server). Then I point my 
browser to

http://192.168.94.4/timecard/session.a4d

 
 
Now, my browser stores a session cookie named ACTIVE4D_SESSIONID with a path 
named /timecard/. Whenever I click the "browse" link, the session is correctly 
recycled.

 
But if I wait for a session timeout, things change.

 
After the session timeout, the browser receives another ACTIVE4D_SESSIONID 
cookie with the path / (instead of /timecard/). In that situation, every 
further click on the browse button starts another session.

 
 
I assume that is not the expected behaviour, is it?

 
 
Thank you for verification

 
   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