Cookie Based Sessions / Google Analytics

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

Cookie Based Sessions / Google Analytics

by Leon Hauck :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I posted this a while back and didn't get an answer so I thought I'd
give it another try since the problem reared it's head again.

We're using cookie based sessions with no problems, until we add the
Google Analytics Tracking Code.  This creates a couple of cookies that
start with __utxx as their name.

Once those cookies are in the browser then our websh based session
variables don't work.  If we go in and delete the __utxx cookies,
everything is back to normal.

Does anyone have any idea why cookies with the leading underscores would
do this?

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-user-unsubscribe@...
For additional commands, e-mail: websh-user-help@...


Re: Cookie Based Sessions / Google Analytics

by Ronnie Brunner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Does anyone have any idea why cookies with the leading underscores would  
> do this?

Nope.

Can you provide a sample that doesn't work (a list of cookies that are
not read correctly)? Are you running mod_websh or websh in CGI? Which
version? 3.6.0b4 or latest from repository? (Although nothing
regarding cookies changed since 3.6.0b4 was changed.

--
Ronnie Brunner | ronnie.brunner@...
phone +41-44-247 79 79 | fax +41-44-247 70 75
Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-user-unsubscribe@...
For additional commands, e-mail: websh-user-help@...


Re: Cookie Based Sessions / Google Analytics

by Ronnie Brunner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

> > Does anyone have any idea why cookies with the leading underscores would  
> > do this?
>
> Can you provide a sample that doesn't work (a list of cookies that are
> not read correctly)? Are you running mod_websh or websh in CGI? Which
> version? 3.6.0b4 or latest from repository? (Although nothing
> regarding cookies changed since 3.6.0b4 was changed.

Someone sent me an example and I could track down the problem: Google
Analytics sends cookies that contain '=' characters in the cookie
value. Websh assumed that '=' only separates cookie names from values
and tehrefore parsed the cookies not correctly in some cases.

Anyway: usually nobody want to know what the problem was, as long as
it's fixed now, therefore: it is fixed now :-)
Get the latest version from the repository to check it out if needed.

Regards
Ronnie
--
Ronnie Brunner | ronnie.brunner@...
phone +41-44-247 79 79 | fax +41-44-247 70 75
Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-user-unsubscribe@...
For additional commands, e-mail: websh-user-help@...