Referer Header Field:
This field in the header object will give you the web page URL from which you application was triggered.
Below code in java will give you the reference URL.
String refUrl = request.getHeader("referer");
A Blog for Java Developers by a Java Developer ;)
This content comes from a hidden element on this page.
The inline option preserves bound JavaScript events and changes, and it puts the content back where it came from when it is closed.
Click me, it will be preserved!
If you try to open a new ColorBox while it is already open, it will update itself with the new content.
Updating Content Example:
Click here to load new content
1 comment:
just remember that it cannot be taken for granted. Anonymous navigation often prevents the browser from filling that header.
Just to say that getting no referrer at all doesn't mean one keyed the url in the url bar for sure.
Post a Comment