Click to See Complete Forum and Search --> : Comparing Request Object on an ASP page and its duplicate by File\New\Winow in IE


vinitsankhe
01-05-2006, 02:40 AM
Hi,

I have a website that created with asp pages. I wanted to get an indication on every ASP page that is if the currently loading page of my website has been loaded on a newly created window (through Ctrl N OR File-NEW-Window) from IE Menu from an older browser session.

I found that on every page whenver I look at the content of Request.ServerVariables(1) it is peculier for Newly (Ctrl+N or New Window) loaded pages that it has HTTP_ACCEPT property in servervariable(1) as "*/*" whereas for original page which was loaded through either URL typing \ Refresh \ or visit from other links (basically Non-New windows) was not having servervariable(1) as "*/*"

Is it that Newly loaded pages have different REQUEST object than the original browser page on which Ctrl N (or File-New-Window) was fired.

If u guys can confirm this then my problem of identifying pages on New windows is solved else I am in sever trouble. I know counting on servervariables is risky.

Plz Help

Thx

VinSan

Ubik
01-05-2006, 04:07 PM
This was answered in one of the other four forums you posted this in.

chrismartz
01-05-2006, 06:27 PM
Please only post in one forum.