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
WarMage: Form fields are only passed along when their form is submitted. Form fields are not passed along when a link is clicked. I have used JS to detect link clicks, set the link target to the location of a hidden form, and then submit the form, but this seems impractical and would not work on pages with forms on them. It seems that you are suggesting manually adding a hidden form field to every form on my site, and having the messages lost whenever the user clicks a link. This might work, but it doesn't seem very elegant :-) Just got a new idea: onUnload: append an anchor to the page's URL (#bcid=1234567889). I should be able to parse the anchor from the referrer header on the subsequent page. Not sure what will happen when the user hits "Back", though. Will the anchor show up in their URL (If so, this method is disqualified)? Another disasvantage of this method is that it relies on the referer header, which I have heard that some firewalls, proxies, and security systems "strip out". -Robur
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »