A4D v5 & Safari - multiple sessions being created for each .a4d call

View: New views
16 Messages — Rating Filter:   Alert me  

A4D v5 & Safari - multiple sessions being created for each .a4d call

by Michael Kaye-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just wanted to check whether anyone else has come across this before I  
register it as a bug.

The problem:

When using Safari 4.x (mac) and Active4D v5ß2, every call to an .a4d  
page creates a new session.

I've tried Firefox 3.5.3 (mac) and everything works properly i.e only  
1 session is created.

Let me know if anyone has seen this and if you have any suggestions.  
As it is, its a show stopper for me.

Thanks, Michael.

Mac 10.6.1, Safari 4.0.3, 4D v11 HF 6, A4D v5ß2
_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Re: A4D v5 & Safari - multiple sessions being created for each .a4d call

by aparajita :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> When using Safari 4.x (mac) and Active4D v5ß2, every call to an .a4d  
> page creates a new session.

I am definitely not seeing this. Do you have On Session Start defined?  
Are you sure your Safari is set to always accept cookies? Are you  
using session cookies or a query param?

Regards,

    Aparajita
    www.aparajitaworld.com

    "If you dare to fail, you are bound to succeed."
    - Sri Chinmoy   |   www.srichinmoy.org

_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Re: A4D v5 & Safari - multiple sessions being created for each .a4d call

by Raimon Fernandez Sirera-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 30/09/2009, at 15:52, Michael Kaye wrote:

> Just wanted to check whether anyone else has come across this before  
> I register it as a bug.
>
> The problem:
>
> When using Safari 4.x (mac) and Active4D v5ß2, every call to an .a4d  
> page creates a new session.
>

Here's working perfectly with Safari 4.03, OS X 10.5.8, A4D  
v5ß2, ,just one session.


regards,


raimon


_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Re: A4D v5 & Safari - multiple sessions being created for each .a4d call

by Michael Kaye-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Aparajita/Raimon,

Thanks for the responses.

> I am definitely not seeing this / Here's working perfectly with  
> Safari 4.03, OS X 10.5.8, A4D v5ß2, ,just one session.

That's good news because it means its something to do with my setup!

> Do you have On Session Start defined?

Yes. All it does is to create an array that just holds some parameters  
to do with searches

> Are you sure your Safari is set to always accept cookies?

Yes

> Are you using session cookies or a query param?

A query param that is then compared with a session cookie array (as  
mentioned above) which is why I noticed the issue...because my query  
param never matches the session cookie because a new session is  
created (which is empty at that point).

As I say all working with Firefox plus this code is from an upgraded  
2004.x database (which itself continues to work with Safari 4.x)

So I guess I've done something wrong somewhere but I can't explain why  
firefox works.

back to the drawing board I guess. I will let you know what happens.

Thanks, Michael.

On 30 Sep 2009, at 15:31, Aparajita Fishman wrote:

>> When using Safari 4.x (mac) and Active4D v5ß2, every call to  
>> an .a4d page creates a new session.
>
> I am definitely not seeing this. Do you have On Session Start  
> defined? Are you sure your Safari is set to always accept cookies?  
> Are you using session cookies or a query param?
>
> Regards,
>
>   Aparajita
>   www.aparajitaworld.com
>
>   "If you dare to fail, you are bound to succeed."
>   - Sri Chinmoy   |   www.srichinmoy.org
>
> _______________________________________________
> Active4D-dev mailing list
> Active4D-dev@...
> http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
> Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Re: A4D v5 & Safari - multiple sessions being created for each .a4d call

by aparajita :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> Are you using session cookies or a query param?
>
> A query param that is then compared with a session cookie array (as  
> mentioned above) which is why I noticed the issue...because my query  
> param never matches the session cookie because a new session is  
> created (which is empty at that point).

Strange...I defined On Session Start, and with Safari 4 it is called  
only once when the session is created.

You should use tcpflow or CocoaPacketAnalyzer to see whether Safari is  
in fact sending the session cookie.

Kind regards,

    Aparajita
    www.aparajitaworld.com

    "If you dare to fail, you are bound to succeed."
    - Sri Chinmoy   |   www.srichinmoy.org

_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Re: A4D v5 & Safari - multiple sessions being created for each .a4d call

by Michael Kaye-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I just installed CocoaPacketAnalyzer...any hints as to how I determine  
whether the cookie is being sent?

I've captured a whole lot of packets but not sure how or where to  
check whether safari is sending the cookie back. Any hints?

Thanks, M.

On 30 Sep 2009, at 17:41, Aparajita Fishman wrote:

>>> Are you using session cookies or a query param?
>>
>> A query param that is then compared with a session cookie array (as  
>> mentioned above) which is why I noticed the issue...because my  
>> query param never matches the session cookie because a new session  
>> is created (which is empty at that point).
>
> Strange...I defined On Session Start, and with Safari 4 it is called  
> only once when the session is created.
>
> You should use tcpflow or CocoaPacketAnalyzer to see whether Safari  
> is in fact sending the session cookie.
>
> Kind regards,
>
>   Aparajita
>   www.aparajitaworld.com
>
>   "If you dare to fail, you are bound to succeed."
>   - Sri Chinmoy   |   www.srichinmoy.org
>
> _______________________________________________
> Active4D-dev mailing list
> Active4D-dev@...
> http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
> Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Re: A4D v5 & Safari - multiple sessions being created for each .a4d call

by aparajita :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I've captured a whole lot of packets but not sure how or where to  
> check whether safari is sending the cookie back. Any hints?

Click in the search box at upper right, click on the magnifying class  
and select "Packet contains string", type "ACTIVE_SESSION", in packets  
from the server you will see something like "Set-Cookie:  
ACTIVE4D_SESSIONID=<something>", in packets going to the server you  
should see "Cookie: ACTIVE4D_SESSIONID=<something>".

Kind regards,

    Aparajita
    www.aparajitaworld.com

    "If you dare to fail, you are bound to succeed."
    - Sri Chinmoy   |   www.srichinmoy.org

_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Re: A4D v5 & Safari - multiple sessions being created for each .a4d call

by Michael Kaye-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Click in the search box at upper right, click on the magnifying  
> class and select "Packet contains string", type "ACTIVE_SESSION", in  
> packets from the server you will see something like "Set-Cookie:  
> ACTIVE4D_SESSIONID=<something>", in packets going to the server you  
> should see "Cookie: ACTIVE4D_SESSIONID=<something>".

Thanks. Do you ever have days when nothing seems to work...I seem to  
be having too many of these nowadays.

I cannot seem to find the ACTIVE4D_SESSIONID cookie being passed  
either to or from the server when using either Safari or Firefox...so  
I'm even more confused now as I at least expected to find it when  
using Firefox.

I think I will give up for the day and try again tomorrow.

Thanks, Michael.
_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Re: A4D v5 & Safari - multiple sessions being created for each .a4d call

by aparajita :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I cannot seem to find the ACTIVE4D_SESSIONID cookie being passed  
> either to or from the server when using either Safari or  
> Firefox...so I'm even more confused now as I at least expected to  
> find it when using Firefox.

In Firefox it's easy to find. Use Firebug with Firecookie, or use  
HttpFox.

For Safari tcpflow is the best. I will send it to you privately. It's  
a command-line utility, put it anywhere you like (/Applications is  
fine). Open Terminal and type this:

sudo /Applications/tcpflow -i lo0 -c port 8080 | grep Cookie

That means: run tcpflow as root (administrator privileges), listening  
to interface lo0 (localhost), dumping the output to the console  
(Terminal), filtering only traffic on port 8080, then search that  
output only for lines that contain "Cookie".

If your server is running on a different port, change 8080 to the  
correct port. If the server address is remote, change "lo0" to "en0".

You will be prompted to enter your login password. The first time you  
hit the site, you should see something like this:

Set-Cookie: ACTIVE4D_SESSIONID=E7FC0A8316509050; PATH=/

On each subsequent request, you should see something like this:

Cookie: ACTIVE4D_SESSIONID=E7FC0A8316509050

Kind regards,

    Aparajita
    www.aparajitaworld.com

    "If you dare to fail, you are bound to succeed."
    - Sri Chinmoy   |   www.srichinmoy.org

_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Re: A4D v5 & Safari - multiple sessions being created for each .a4d call

by Michael Kaye-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

re TCPFlow - Thanks Aparajita, very helpful. Here is what I'm seeing  
just going to the home page.

Safari:

Set-Cookie: ACTIVE4D_SESSIONID=0F34496293DF10A3; PATH=/
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
function getCookie(name) {
       if (getCookie(idname) == 'show') {
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
__utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394323.1254395334.15;  
__utmb=111872281; __utmc=111872281;  
__utmz=111872281.1253800848.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=
(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Cookie:  
__utma=111872281.1812287496.1253800848.1254394323.1254395334.15;  
__utmb=111872281; __utmc=111872281;  
__utmz=111872281.1253800848.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=
(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
Set-Cookie: ACTIVE4D_SESSIONID=0EAFCC0BA2A3E564; PATH=/

NB The second Set-Cookie at the bottom - also not sure what the  
function getCookie line is about.

And this is the output when doing the same in Firefox:

Set-Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384; PATH=/
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384
Cookie: ACTIVE4D_SESSIONID=40BBD2FFBE63B384

Which as you pointed out is what I should be seeing.

So I guess the question is whether Safari is somehow corrupted or  
something else is causing the issue.

Thanks, Michael.
_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Re: A4D v5 & Safari - multiple sessions being created for each .a4d call

by Michael Bond-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/1 Michael Kaye <michaelkaye@...>

> re TCPFlow - Thanks Aparajita, very helpful. Here is what I'm seeing just
> going to the home page.
>
> Safari:
>
> Set-Cookie: ACTIVE4D_SESSIONID=0F34496293DF10A3; PATH=/
> Cookie: __utma=111872281.1812287496.1253800848.1254394048.1254394323.14;
> __utmb=111872281;
> __utmz=111872281.1253800848.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none);
> ACTIVE4D_SESSIONID=0F34496293DF10A3
> Cookie: __utma=111872281.1812287496.1253800848.1254394048.1254394323.14;
> __utmb=111872281;
> __utmz=111872281.1253800848.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none);
> ACTIVE4D_SESSIONID=0F34496293DF10A3
>


> [trimmed Cookie log]
>


> Which as you pointed out is what I should be seeing.
>
> So I guess the question is whether Safari is somehow corrupted or something
> else is causing the issue.
>
> Thanks, Michael.


I don't know why this is the case but the additional cookies returned  utm
etc. are those for Google Analytics.
<http://code.google.com/apis/analytics/docs/concepts/gaConceptsCookies.html>

If your page is using Google Analytics you could disable it and see if that
allows Active4D to read its session cookie.

Michael Bond
_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Re: A4D v5 & Safari - multiple sessions being created for each .a4d call

by Michael Kaye-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Michael,

Thanks for that..alas no difference.

Not sure where to go with this. I guess I could try re-installing  
Safari (or even Webkit) and see whether it helps.

Thanks, Michael.

On 1 Oct 2009, at 12:38, Michael Bond wrote:

> 2009/10/1 Michael Kaye <michaelkaye@...>
>
> I don't know why this is the case but the additional cookies  
> returned  utm
> etc. are those for Google Analytics.
> <http://code.google.com/apis/analytics/docs/concepts/gaConceptsCookies.html 
> >
>
> If your page is using Google Analytics you could disable it and see  
> if that
> allows Active4D to read its session cookie.

_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Re: A4D v5 & Safari - multiple sessions being created for each .a4d call

by aparajita :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Oct 1, 2009, at 7:18 AM, Michael Kaye wrote:

> re TCPFlow - Thanks Aparajita, very helpful. Here is what I'm seeing  
> just going to the home page.
>
> Safari:
>
> Set-Cookie: ACTIVE4D_SESSIONID=0F34496293DF10A3; PATH=/
> Cookie:  
> __utma=111872281.1812287496.1253800848.1254394048.1254394323.14;  
> __utmb=111872281; __utmz=111872281.1253800848.1.1.utmccn=(direct)|
> utmcsr=(direct)|utmcmd=(none); ACTIVE4D_SESSIONID=0F34496293DF10A3
As Michael said, you have google analytics running.


> function getCookie(name) {
>      if (getCookie(idname) == 'show') {

Hmmm...not sure what that is from. You should check your source code  
and see if that appears.


Anyway, the problems you are having MAY come from the fact that your  
home page has major structural problems at the html level. Here is  
what Safari complains about:





I would say that having an extra <html> and <body> tag, and an ignored  
<head>, would cause some problems. It's a miracle the page renders at  
all on IE.

Do 2 things:

1. Use the web inspector in Safari (in the Develop menu) to examine  
what is going on under the hood.
2. Install the Web Developer toolbar for Firefox and it to validate  
your HTML.

Kind regards,

    Aparajita
    www.aparajitaworld.com

    "If you dare to fail, you are bound to succeed."
    - Sri Chinmoy   |   www.srichinmoy.org


_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Re: A4D v5 & Safari - multiple sessions being created for each .a4d call

by aparajita :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Anyway, the problems you are having MAY come from the fact that your  
> home page has major structural problems at the html level. Here is  
> what Safari complains about:

The mailing list server stripped out my attachment. Your home page  
seems to be including the master template twice, so there are 2 <html>  
and <body> tags, and an extra <head>. Take a look at the page source  
in Safari or Firefox and you'll see. I'll wager if you fix that your  
session problems will go away.

Kind regards,

    Aparajita
    www.aparajitaworld.com

    "If you dare to fail, you are bound to succeed."
    - Sri Chinmoy   |   www.srichinmoy.org

_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Re: A4D v5 & Safari - multiple sessions being created for each .a4d call

by Michael Kaye-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OK,

I've fixed all these issues....and my home page loads correctly now.

So thank you this indeed does appear to have been the problem (Safari  
must be must stricter than I thought - at least internally).

The web designer is in real trouble now because the whole site is  
littered with calls to include html pages from elsewhere (which is  
where the extra htmls/heads were coming from)! At least I can now move  
on.

Thanks ever so much for your help and patience with this.

M.

On 1 Oct 2009, at 15:04, Aparajita Fishman wrote:

>> Anyway, the problems you are having MAY come from the fact that  
>> your home page has major structural problems at the html level.  
>> Here is what Safari complains about:
>
> The mailing list server stripped out my attachment. Your home page  
> seems to be including the master template twice, so there are 2  
> <html> and <body> tags, and an extra <head>. Take a look at the page  
> source in Safari or Firefox and you'll see. I'll wager if you fix  
> that your session problems will go away.
>
> Kind regards,
>
>   Aparajita
>   www.aparajitaworld.com
>
>   "If you dare to fail, you are bound to succeed."
>   - Sri Chinmoy   |   www.srichinmoy.org
>
> _______________________________________________
> Active4D-dev mailing list
> Active4D-dev@...
> http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
> Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Re: A4D v5 & Safari - multiple sessions being created for each .a4d call

by aparajita :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> The web designer is in real trouble now because the whole site is  
> littered with calls to include html pages from elsewhere (which is  
> where the extra htmls/heads were coming from)!

In real trouble? I'll say! The first commandment of a web designer is:  
Thou shalt create valid HTML/CSS.


> Safari must be must stricter than I thought - at least internally.

And you should be mighty glad it is! Otherwise you may not have  
discovered how messed up your site was.

Kind regards,

    Aparajita
    www.aparajitaworld.com

    "If you dare to fail, you are bound to succeed."
    - Sri Chinmoy   |   www.srichinmoy.org

_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/