This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
b) I am creating the cookie with expiry as current-time + 4 second. I am recreating the cookie with script, as you can see, every 3 seconds. My page takes 2 seconds to load (lots of data). If I decrease the expiry to 2 seconds and interval to 1 seconds, will the next interval sequence fire before the page loads?
Can I ask you what is the purpose of doing this? Sounds like you are recreating a basic session cookie which expires when the browser closes.
Eric [ July 11, 2006: Message edited by: Eric Pascarello ]
Joined: Mar 17, 2004
Yes, you are right. And I could have also wrote it down in onload or onunload of the body. But there are restrictions on doing it.
Scenario is like this, my welccome page needs to identify whether any page from the application is open or not. if open, that already open page needs to be popped up and focused. To identify this I need a session cookie, but unfortunately a session cookie for a browser window is not available another browser window. So I have to save it.
Joined: Nov 08, 2001
How are you opening up another window that is not reading the session cookie? I am assuming a pop up window....
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com