OZONE Asylum
Forums
DHTML/Javascript
Creating "Buffers" - problems with history and coookies
This page's ID:
28018
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Have to add one more attempt.... Split buffer when history.length == 1 (4th try): Same as the 1st attempt, but instead of a loop to set the coookie, I attached a function to the pages onLoad event handler which checks if history.length == 1, and if it does redirects to a page that sets the cookie server side - and then serves a blank JS page that calls history.back(); The problem with this attempt is the redirect. Though I have tried updating history.location, and using document.write to add a META REFRESH tag to the page's header, both methods overwrite the current page in history. On the blank JS page that calls history.back() nothing happens, as there is nothing in the history object!!! JS drives me crazy :) -Robur
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »