You can do many things. Perhaps save the last loaded page in the
session, and use that page anytime the browser is refreshed. If the
session is empty, default to the homepage.

On Sep 9, 9:33 am, Muthuvel Subramani <[email protected]> wrote:
> hello,
> in my application i am using ajax for loading contents in homepage,about
> us,contact us..now when i refresh the page it shows the last requested page
> ie the home page but not the page loaded by ajax..
> for example,
> ajax request 1: home page
> ajax request 2: about us page
> ajax request 3: contact page
> ajax request 4: portfolio page
> when i refresh the page, the home page is gets loaded but not the last
> requested content through ajax...
>  i know that ajax only delivers content but not the page.. what should i
> take care when this situations happens...
> thank you

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 [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to