Re: Header element not refreshing!!!

2010-05-27 Thread WebbedIT
Glad you resolved your issue :)

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Header element not refreshing!!!

2010-05-26 Thread WebbedIT
Seems a complicated implementation.  Can you show your code?
especially the call to the header and the header itself.

Paul.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Header element not refreshing!!!

2010-05-26 Thread sherzo

Hi Paul

Thanks for your reply, Actually I solved the problem by setting variables
directly from the controller instead of using session.


Thanks
Sherry


WebbedIT wrote:
 
 Seems a complicated implementation.  Can you show your code?
 especially the call to the header and the header itself.
 
 Paul.
 
 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.
 
 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group
 at http://groups.google.com/group/cake-php?hl=en
 
 

-- 
View this message in context: 
http://old.nabble.com/Header-element-not-refreshing%21%21%21-tp28654116p28683100.html
Sent from the CakePHP mailing list archive at Nabble.com.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Header element not refreshing!!!

2010-05-25 Thread WebbedIT
 If I change the URL from the addressbar and directly land to the page
 information that are sending to the header element through the session are
 not updating

I'm confused what you mean by the above.  Are you caching data and
having problems or is this a user updating their profile and their
session info is not being update?

HTH

Paul.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Header element not refreshing!!!

2010-05-25 Thread sherzo

Hi Paul 

Here is the problem definition  :)

In order to display the city deals controller  reads the city from the URL,
if there  is no city in the URL it  checks the cookie. after defining the
city I update the cookie and also pass the city name and the city id to the
session and then load the page. 
The page consists of tree parts, Header, Content and the footer. 
There is no problem in the content, It always shows the correct deal.
But in the header which displays the tab menu there is a big issue!!! In
order to generate the tab links I echo the cityN session an the end of the
link, the one that is generated in the controller. it works very well. and
displays the correct cityname if you dont change the cityname,  but if you
change the city name directly from  the URL  and  press enter,  the header
part still displays the old content and needs to refresh the page to display
the correct city name. 
I guess its the browser cache because Im sure the session will be updated
before page rendering !!! because in theh content pat it displays the
correct deals 
I tried to put nocache tag it didnt help. I even display the cityname
session before header, inside header and after header and surprisingly find
out it displays the correct information before and after the header but not
inside the header!
I even wrote a function to read the cityname from the cookie and put it in
the session and call it from the header view still shows the old one!!!
I really dont know how can i synchronize them!!!

I hope I could explain it well.

Thanks

Sherry


WebbedIT wrote:
 
 If I change the URL from the addressbar and directly land to the page
 information that are sending to the header element through the session
 are
 not updating
 
 I'm confused what you mean by the above.  Are you caching data and
 having problems or is this a user updating their profile and their
 session info is not being update?
 
 HTH
 
 Paul.
 
 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.
 
 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group
 at http://groups.google.com/group/cake-php?hl=en
 
 

-- 
View this message in context: 
http://old.nabble.com/Header-element-not-refreshing%21%21%21-tp28654116p28670714.html
Sent from the CakePHP mailing list archive at Nabble.com.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Header element not refreshing!!!

2010-05-24 Thread sherzo

Any body please?

I turn of the cache as well but still needs to reload the page to see the
correct data!!!




sherzo wrote:
 
 Hi All
 
 I have a strange problem  with refreshing the sessions inside my header
 which is an element loaded in my page!
 
 If I change the URL from the addressbar and directly land to the page
 information that are sending to the header element through the session are
 not updating i have to use F5 to see the correct session value!!!
 
 Thanks in advanced
 
 Sherry
 

-- 
View this message in context: 
http://old.nabble.com/Header-element-not-refreshing%21%21%21-tp28654116p28661355.html
Sent from the CakePHP mailing list archive at Nabble.com.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en