E
Eder F. Dias
Hi all,
My problem happens when i access my project server by PWA (project web
access). Every that i do this the page "END USER LICENSE AGREEMENT FOR
MICROSOFT SOFTWARE" is showed,ultil here ok, but i cannot proceed because,
when i accept and click in next button, the page Download.asp connot get the
ServerVariable("HTTP_REFERED"). this happen only in a feqw client computers.
The code used in Project Server asp page is below.
Somebody help-me!!
Thanks all.
Code:
....
try
{
var referer = Request.ServerVariables("HTTP_REFERER").Item.toLowerCase();
var name1 = referer.match(/http*:\/\/([^/:]*)[:]*[^/]*\//)[1] +
referer.match(/(\/[^/]*\/download\/dleula.asp)/)[1];
var name2 = (g_svr_sServerName + ApplicationVirtualPath() +
"download/dleula.asp").toLowerCase();
if (name1 != name2)
{
Response.Redirect( "dlEULA.asp" );
}
}
catch( e )
{
Response.Redirect( "dlEULA.asp" );
}
.....
My problem happens when i access my project server by PWA (project web
access). Every that i do this the page "END USER LICENSE AGREEMENT FOR
MICROSOFT SOFTWARE" is showed,ultil here ok, but i cannot proceed because,
when i accept and click in next button, the page Download.asp connot get the
ServerVariable("HTTP_REFERED"). this happen only in a feqw client computers.
The code used in Project Server asp page is below.
Somebody help-me!!
Thanks all.
Code:
....
try
{
var referer = Request.ServerVariables("HTTP_REFERER").Item.toLowerCase();
var name1 = referer.match(/http
referer.match(/(\/[^/]*\/download\/dleula.asp)/)[1];
var name2 = (g_svr_sServerName + ApplicationVirtualPath() +
"download/dleula.asp").toLowerCase();
if (name1 != name2)
{
Response.Redirect( "dlEULA.asp" );
}
}
catch( e )
{
Response.Redirect( "dlEULA.asp" );
}
.....