page-refresh

Object Oriented Programming with PHP: Refreshing Kills my Objects!!!

I have been poking around in PHP for OOP and I noticed something... Objects are re-instantiated each time the page is refreshed. The problem is that I want the object to keep certain information in class variables for the whole time that someone is on a website. Is there some sort of way to keep an object alive the whole time that some...

Jquery .load need page refresh but but also return false - help

Hi folks this is prob quiet simple but not sure how to do it. I am loading pages into a div a simple like this: $('.pageLink').click(function() { var pagetoload = ($(this).attr('href').substring(5)); $('#adminArea').load(pagetoload+'.php'); return false; }); That works no probs at all. Only thing is that I am using CKEditor on "seve...

ASP.NET Call ashx, and refresh parent page to show latest details

In the button "Export to XML" i am calling a "DownloadXML.ashx" After which, i would like to refresh the page to show the latest status as "Exported" I have tried to (1) RefreshDetails then call the ashx (2) Redirect to the current page then call the ashx But it all doesn't seem to work. Any help plz??? for (1) the button click aft...

HTML - force page scroll position to top at page refresh

i am building a website which i am publishing in DIVs... when i refresh the page.. if the page was scrolled to position X... after page refresh when the page is loaded it will be at the same at scrolled to position X... i want to force page scrolled to top at page refresh... what i can think of is of some JS / jQuery run as onLoad() f...

Robust auto-refresh web page

I have many web pages that needs to auto-refresh once a minute. Easily done with META REFRESH or a some javascript. (And yes, the whole pages needs to refresh -- LOTS of content changing). However, it needs to be as robust as possible. If the web server is momentarily down or there is a network hiccup, it can't refresh and will then ...

Refresh in Joomla

Hi, i have a Joomla site on a Apache/2.2.9 (Unix) mod_ssl/2.2.9 server and i would like it to refresh the page at 1 miniute past each hour to ensure the latest articles are shown, this is a radio website so listeners often have their browser open on the site for hours at a time. Can this snippet be adapted to refresh at 1 miniute past ea...

JQuery - hide page refresh div wrapper

Hello, I would like to create a jquery function that hides page refresh when a form on the page is submitted. I don't mean one that is specific for a particular form on the page but rather for any form on the page. If there is a form submit on the page that submits to itself, don't show page refresh. I'd like to just wrap the page with a...

Reload/Refresh an ABPersonViewController

In my app, users can view and edit their Address Book contacts. Right now, I'm trying to support iOS 4 backgrounding. Here's my problem. If a user is viewing a contact, say "John Appleseed" in my app, the user can then switch to the iPhone Address Book, open "John Appleseed," and change his contact info. If the user then switches back t...