Question

I am facing a charset/session issue.

Context : I developed a web site using Zend. I must use the ISO-8859-1 charset. During the user utilization, some data are stored into sessions variables (Zend_session) and everything is fine.

But, once the user close and restart the browser after few seconds, the user sessions variables have been converted into UTF-8 charset and all accents are not displayed correctly!

So, my questions are: - Is it possible to specify the Zend_Session charset to use when the data are stored on the server side? - Is it possible to force the session clean-up when the user close its browser?

Thanks you in advance!

Was it helpful?

Solution

There was no issue...

I migrated from charset UTF-8 to ISO-8859-1 and I had an old version of my web site still opened in my browser.

So, at the browser launching, both versions of my web site were loading at the same time and pushed data into php session variables.

My mistake

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top