FSN#22727 Inloggen nieuwe stijl: customerID moet met kleine d
svn path=/Website/trunk/; revision=11857
This commit is contained in:
@@ -22,6 +22,12 @@ if (Request.QueryString("API").Count>0 && Request.QueryString("APIKEY").Count>0
|
||||
{
|
||||
Server.Transfer("appl/api/api.asp");
|
||||
}
|
||||
// Controle kan weg als alle klanten op 5.2.2 zitten
|
||||
if (typeof customerID != "undefined")
|
||||
{
|
||||
Response.Write("Installatie fout: verander in " + Server.MapPath("default.asp") + " customerID door customerId (kleine letter d dus)");
|
||||
Response.End;
|
||||
}
|
||||
%>
|
||||
<!--#include file="../shared/common.inc" -->
|
||||
<!--#include file="../api/api.inc" -->
|
||||
|
||||
@@ -737,10 +737,10 @@ function determineCustomerId()
|
||||
// on the same page as the call to the Abandon method but not in any subsequent Web pages.
|
||||
}
|
||||
|
||||
// is var customerID al gezet door /default.asp?
|
||||
if (typeof customerID != 'undefined' && customerID != "XXXX")
|
||||
// is var customerId al gezet door /default.asp?
|
||||
if (typeof customerId != 'undefined' && customerId != "XXXX")
|
||||
Session("customerId") = customerID.toUpperCase();
|
||||
else if (Request.Cookies("fcltcust")) // Remember me knop
|
||||
else if (String(Request.Cookies("fcltcust"))) // Remember me knop
|
||||
Session("customerId") = String(Request.Cookies("fcltcust"));
|
||||
|
||||
// TODO: is er maar <20><>n cust-folder met een Oracle.udl? Gebruik die
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<%@language = "javascript" %>
|
||||
<%
|
||||
customerID = "XXXX"; // <== Must change CUSTOMERID in customer 4-letter abbreviation
|
||||
customerId = "XXXX"; // <== Must change CUSTOMERID in customer 4-letter abbreviation
|
||||
%>
|
||||
<!--#include file="appl/fac/facilitor.inc"-->
|
||||
|
||||
Reference in New Issue
Block a user