Category:Visitor keys

From Catglobe Wiki
Jump to: navigation, search

<accesscontrol>Main:MyGroup</accesscontrol>


Visitor keys

The keys described in this chapter are used in order to make it possible to use the web shop of another site than your own; as well as request samples from other sites. Before the web shop will work you need to get the correct code from the site you will be visiting. To read more on how to do this please click here

The three keys to set up are:

  • SiteVisitor_WebShop_Site_Code
  • SiteVisitor_Request_Time_To_Live
  • SiteVisitor_WebShop_Main_Site_Url

When the three above keys are found in the web configuration file of a site, then the site knows that users will no longer use their own site's web shop. Thus, when users click the "My web shop" link from the quick links or tool bar, then they will automatically be directed to the external site (SiteVisitor_WebShop_Main_Site_Url) where they will be logged in as a new user. To read more on this process please click here.

Please notice that you need to also set the following settings into the web configuration of both the site you will be visiting as well as the site you come from for it to work.

<location path="SiteVisitor/VisitorWebService.asmx">

<system.web>

<authorization>

<allow users="?" />

</authorization>

</system.web>

</location>

<location path="VisitorLogin.aspx">

<system.web>

<authorization>

<allow users="?" />

</authorization>

</system.web>

</location>

Pages in category "Visitor keys"

The following 3 pages are in this category, out of 3 total.