Priti's Technical Corner

October 30, 2012

ZendFramework session problem


I was writing a breadcrumb class file for my application in Zendframework. While unit testing I noticed a strange problem I was having difficult time to manage my session in Chrome !. I never imagine this situation that my session will get impacted by browser types !.

I did a googling for this problem and found there are people who are facing the same problem. And, this was already been in issue log with ZF. Been in open source is bless :). I found many article which will help you to understand this particular behavior. For me I took following steps and I was able to resolve the problem

1. create favicon.ico

2. place favicon.ico in webroot

3. In layout.php I placed following line

<link rel=”shortcut icon” href=”http://example.com/myicon.ico&#8221; />

delete the browser cache and refresh the page. I am done !.  To understand the problem I suggest user to go through following link

http://allinthehead.com/retro/359/a-favicon-broke-my-app

It will give more interesting insight of the problem.

Advertisements

1 Comment »

  1. Hi,

    Thanks for such a great information. In these days its hard to find a honest blog about zend framework developer

    This is sooo exciting! I love your blog and check it every day.the blog has grown so much. Wish you & the blog more success!

    God bless 🙂

    Comment by webdesigncompanybss — December 12, 2012 @ 12:34 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: