CommerceContext.Current.AuthenticationInfo.SupportsSessionCo
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
CommerceContext.Current.AuthenticationInfo.SupportsSessionCo

 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server
Author Message
Tomas Vera
Guest





Posted: Sat Feb 12, 2005 4:58 am    Post subject: CommerceContext.Current.AuthenticationInfo.SupportsSessionCo Reply with quote

Hello,
I'm running into a problem that has me stumped.

When I try to process a form on my site and I check the
CommerceContext.Current.AuthenticationInfo.SupportsSessionCookies
property, the value always returns false.
However, I know that my browser has its cookies enabled since I'm
collecting cookies all over the place.
So... where do I go to make sure that CommerceServer is detecting
cookies properly?

Also, I dont' have an AutoCookies.aspx page. Is this page required?

I'm working from one of the MS starter sites
(CS2002StarterSite_FP1.pup).

Thanks for any help..

-tomas
Back to top
Madhur Joshi (MSFT
Guest





Posted: Wed Feb 16, 2005 8:06 pm    Post subject: RE: CommerceContext.Current.AuthenticationInfo.SupportsSessi Reply with quote

Hi,

Could it be that you don't have detectcookies="true" in your web.config?
Search for the keyword detectcookies in the Commerce Server Documentation
for more details on this.
madhur

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
© 2004 Microsoft Corporation. All rights reserved.
--------------------
From: Tomas Vera <tavera@sbcglobal.net>
Newsgroups: microsoft.public.commerceserver.general
Subject: CommerceContext.Current.AuthenticationInfo.SupportsSessionCookies
returns false
Message-ID: <74eq01dopd1gm6r4kmqpjnd0pq11al0efa@4ax.com>
X-Newsreader: Forte Free Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 19
NNTP-Posting-Host: 216.52.212.200
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr23.news.prodigy.net 1108162730 ST000 216.52.212.200 (Fri,
11 Feb 2005 17:58:50 EST)
NNTP-Posting-Date: Fri, 11 Feb 2005 17:58:50 EST
Organization: SBC http://yahoo.sbc.com
X-UserInfo1:
SCSYASVGTRSYB_LYN[O@_WH@YR_B@EXLLBWLOOAFWIWTEPIB_NVUAH_[BL[\IRKIANGGJBFNJF_D
OLSCENSY^U@FRFUEXR@KFXYDBPWBCDQJA@X_DCBHXR[C@\EOKCJLED_SZ@RMWYXYWE_P@\\GOIW^
@SYFFSWHFIXMADO@^[ADPRPETLBJ]RDGENSKQQZN
Date: Fri, 11 Feb 2005 22:58:50 GMT
Path:
TK2MSFTNGXA01.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fas
twebnet.it!tiscali!newsfeed1.ip.tiscali.net!news.glorb.com!news-feed01.roc.n
y.frontiernet.net!nntp.frontiernet.net!newscon06.news.prodigy.com!prodigy.ne
t!newsmst01a.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssv
r23.news.prodigy.net.POSTED!2080ae30!not-for-mail
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.commerceserver.general:2206
X-Tomcat-NG: microsoft.public.commerceserver.general

Hello,
I'm running into a problem that has me stumped.

When I try to process a form on my site and I check the
CommerceContext.Current.AuthenticationInfo.SupportsSessionCookies
property, the value always returns false.
However, I know that my browser has its cookies enabled since I'm
collecting cookies all over the place.
So... where do I go to make sure that CommerceServer is detecting
cookies properly?

Also, I dont' have an AutoCookies.aspx page. Is this page required?

I'm working from one of the MS starter sites
(CS2002StarterSite_FP1.pup).

Thanks for any help..

-tomas
Back to top
Tomas Vera
Guest





Posted: Thu Feb 17, 2005 12:43 am    Post subject: Re: CommerceContext.Current.AuthenticationInfo.SupportsSessi Reply with quote

madhur,
The "detectCookies" entry is in place.

Since I'm working with a StarterSite the web.config is more complex
than the ones I've worked with in the past. I copied/ renamed an old
web.config and now my own pages work fine, but the StarterSite pages
fail on occasion.

I have not compared all of the differences, yet (I need to get this
project done quickly). I will have to go back and analyze the problem
at a later date.

However, I'm posting the content of the StarterSite web.config in case
anyone cares to review it and determine why the cookie detection is
failing (sorry for the work wrap).

Thanks for the suggestion.

-tomas


------- STARTER SITE WEB.CONFIG ---------
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<!-- COMMERCE SERVER CONFIGURATION SECTION HANDLERS
These configuration sections are required for the Commerce
Server .NET Application
Framework to function properly. They must be registered
using the strong name for the
assemblies.
-->
<sectionGroup name="CommerceServer">
<section name="application"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceApplicationSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="authentication"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceAuthenticationSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="pipelines"
type="Microsoft.CommerceServer.Runtime.Configuration.CommercePipelineSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="caches"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceCacheSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="messageManager"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceMessageManagerSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="catalog"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceCatalogSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="orders"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceOrdersSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="profiles"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceProfilesSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="contentSelection"
type="Microsoft.CommerceServer.Runtime.Configuration.CommerceContentSelectionSectionHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="commerceEvent"
type="Microsoft.CommerceServer.Runtime.Configuration.EventLoggerConfigurationHandler,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
</sectionGroup>
<!-- ContentConnector configuration handlers. -->
<sectionGroup name="Solutions">
<section name="searchConfiguration"
type="Microsoft.Solutions.Framework.SearchConfigurationSectionHandler,
Microsoft.Solutions.Search, Version=5.0.1.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="searchProviders"
type="Microsoft.Solutions.Framework.SearchProvidersConfigurationSectionHandler,
Microsoft.Solutions.Search, Version=5.0.1.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="Authentication"
type="Microsoft.Solutions.Framework.AuthConfigurationSectionHandler,
Microsoft.Solutions.AccountManagement, Version=5.0.1.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</sectionGroup>
<!--The following code declares config section
handlers for all of site settings. -->
<sectionGroup name="SiteSettings">
<section name="AuthenticationPolicy"
type="Microsoft.Solutions.Framework.SiteConfigurationHandler,
Microsoft.Solutions.Shared, Version=5.0.1.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="TransactionPolicy"
type="Microsoft.Solutions.Framework.SiteConfigurationHandler,
Microsoft.Solutions.Shared, Version=5.0.1.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="SecureTextBox"
type="Microsoft.Solutions.Framework.SiteConfigurationHandler,
Microsoft.Solutions.Shared, Version=5.0.1.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="OutputCaching"
type="Microsoft.Solutions.Framework.SiteConfigurationHandler,
Microsoft.Solutions.Shared, Version=5.0.1.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<section name="AddressDictionary"
type="Microsoft.Solutions.Framework.SiteConfigurationHandler,
Microsoft.Solutions.Shared, Version=5.0.1.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
</sectionGroup>
<sectionGroup name="NavigationBars">
<section name="headerMenu"
type="Microsoft.Solutions.Applications.NavigationBarHandler,
Microsoft.CommerceServer.CS2002StarterSite"/>
<section name="footerMenu"
type="Microsoft.Solutions.Applications.NavigationBarHandler,
Microsoft.CommerceServer.CS2002StarterSite"/>
</sectionGroup>
</configSections>
<!-- BEGIN: COMMERCE SERVER CONFIGURATION SECTION
This signifies the beginning of the configuration of the
Commerce Server .NET
Application Framework.
-->
<CommerceServer>
<!-- APPLICATION
Set the siteName to be the name of the site as it has been
registered in the Administration
database. The Site Packager will update this attribute
automatically when unpacking
a site. Set debugLevel to "Checked", "Debug", or
"Production". Because the "Checked" and
"Debug" settings cause the application to run slower than
normal, you should only use these
values when debugging the application.
-->
<application siteName="NaturesWay"
debugLevel="Debug"/>
<!-- AUTHENTICATION
Set the ticketTimeOut to the appropriate timeout value for
authentication tickets issued
for the application. Set detectCookies to true if you
wish to enable a cookie to URL-mode
fallback authentication scheme.
-->
<authentication detectCookies="true"
siteName="NaturesWay"/>
<!-- PIPELINES
Configure the pipelines you wish to use in your
application.
-->
<pipelines siteName="NaturesWay">
<!-- PIPELINE CONFIGURATION
Set the name of the pipeline to whatever string
you wish to use when referencing the
pipeline in your application. The path should
be set to a the relative path of the pipeline
configuration file (.PCF) that corresponds
to the pipeline you wish to execute when
referencing the pipeline in your application. Set
transacted to false to disable COM+
Transactions when executing your pipeline.
The type should be set to either "OrderPipeline"
or "CSFPipeline" depending on if you
intend to use the pipeline for processing Orders or
displaying advertisements. Set
loggingEnabled to true to enable pipeline logging. The log
will be created in the "pipelines\log" directory
of your application. Note that this
causes the application to run slower than
normal so it should only be enabled during
debugging.

Sample pipeline configuration sections
have been provided below.
-->
<pipeline name="basket"
path="RetailExtensions\pipelines\basket.pcf" transacted="false"
type="OrderPipeline" loggingEnabled="false"/>
<pipeline name="checkout"
path="RetailExtensions\pipelines\checkout.pcf" transacted="true"
type="OrderPipeline" loggingEnabled="false"/>
<pipeline name="total"
path="RetailExtensions\pipelines\total.pcf" transacted="false"
type="OrderPipeline" loggingEnabled="false"/>
<pipeline name="advertising"
path="pipelines\advertising.pcf" transacted="false" type="CSFPipeline"
loggingEnabled="false"/>
<pipeline name="discounts"
path="RetailExtensions\pipelines\discounts.pcf" transacted="false"
type="CSFPipeline" loggingEnabled="false"/>
<pipeline name="recordevent"
path="pipelines\recordevent.pcf" transacted="false" type="CSFPipeline"
loggingEnabled="false"/>
</pipelines>
<!-- CACHES
Configure the caches you wish to use in your application
-->
<caches siteName="NaturesWay">
<!-- CACHE CONFIGURATION
Set the name of the cache to whatever string you
wish to use when referencing the cache.
Note that certain caches must have specific
names when using the default Advertising,
Discounting, and QueryCatalogInfo pipeline
components. These names are Advertising, Discount,
and QueryCatalogInfoCache
respectively. The refreshInterval should be set to a time value
(in seconds) that determines how long the cache
remains in memory before being refreshed.
The retryInterval should be set to a time
value (in seconds) that determines how long the
Cache Manager waits before attempting to
call the cache loader in the event of a failure
when calling the cache loader. Set maxSize to be
the maximum number of entries to
store in the cache.

Sample cache configuration sections have
been provided below.
-->
<cache name="Advertising" type="Advertising"
refreshInterval="300" retryInterval="60"/>
<cache name="Discounts" type="Discounts"
refreshInterval="0" retryInterval="60"/>
<cache name="QueryCatalogInfoCache" type="QCI"
loaderProgId="Commerce.LRUCacheFlush" refreshInterval="0"
retryInterval="300" maxSize="10000">
<config key="TableName"
value="CatalogCache_Virtual_Directory"/>
</cache>
<cache name="SampleRegionalTaxCache"
type="Tax" refreshInterval="0" retryInterval="60"/>
<cache name="ShippingManagerCache"
type="Shipping" loaderProgId="Commerce.ShippingManagerCache"
refreshInterval="0" retryInterval="60"/>
</caches>
<!-- MESSAGE MANAGER
Configure the resources to extract from satellite
assemblies into the MessageManager
used by components in the Order Processing Pipelines.
-->
<messageManager siteName="NaturesWay">
<!-- CULTURES
Set the default attribute to be the
RFC 1766 identifier of the default culture used
by the application. The baseName
attribute specifies the root name of the resources
used in your application. For
example, when using a satellite assembly named
"MyResources.en-US.resources", the
root name is "MyResources." The assembly attribute
is used to specify the name of the
assembly containing the default resources - either
the executing application or the name
of a satellite assembly.
-->
<cultures default="en-US"
baseName="Microsoft.Solutions.Applications.ProjectResources"
assembly="Microsoft.CommerceServer.CS2002StarterSite">
<culture id="en-US"/>
</cultures>
<resources>
<resource id="pur_badsku"/>
<resource id="pur_badplacedprice"/>
<resource id="pur_discount_changed"/>
<resource id="pur_discount_removed"/>
<resource id="pur_noitems"/>
<resource id="pur_badshipping"/>
<resource id="pur_badhandling"/>
<resource id="pur_badtax"/>
<resource id="pur_badcc"/>
<resource id="pur_badpayment"/>
<resource id="pur_badverify"/>
<resource id="pur_out_of_stock"/>
<resource id="pur_AddItem"/>
<resource id="pur_VariantPrice"/>
<resource
id="unknown_shipping_method"/>
</resources>
</messageManager>
<contentSelection siteName="NaturesWay">
<add name="advertising"
cacheName="advertising" selectionPipeline="advertising"
eventPipeline="recordEvent" redirectUrl="./Redir.aspx"/>
<add name="discounts" cacheName="discounts"
selectionPipeline="discounts" eventPipeline="recordEvent"
redirectUrl="./Redir.aspx" preloadCache="true"/>
</contentSelection>
<catalog siteName="NaturesWay">
<joinTable joinType="noJoin"
targetTableName="target-table" sourceJoinKey="source-join-key"
targetJoinKey="target-join-key"/>
<catalogSets defaultAuthenticated="Registered
User Default CatalogSet" defaultAnonymous="Anonymous User Default
CatalogSet"/>
</catalog>
<orders siteName="NaturesWay">
<addressMap>
<profileDefinition name="Address"/>
<property
from="GeneralInfo.address_id" to="address_id"/>
<property
from="GeneralInfo.address_id" to="shipping_address_id"/>
<property
from="GeneralInfo.first_name" to="first_name"/>
<property from="GeneralInfo.last_name"
to="last_name"/>
<property
from="GeneralInfo.address_line1" to="address_line1"/>
<property
from="GeneralInfo.address_line2" to="address_line2"/>
<property from="GeneralInfo.city"
to="city"/>
<property
from="GeneralInfo.region_name" to="region_name"/>
<property
from="GeneralInfo.region_code" to="region_code"/>
<property
from="GeneralInfo.postal_code" to="postal_code"/>
<property
from="GeneralInfo.country_code" to="ship_to_country"/>
<property
from="GeneralInfo.region_code" to="ship_to_state"/>
<property
from="GeneralInfo.country_code" to="country_code"/>
<property
from="GeneralInfo.tel_number" to="tel_number"/>
</addressMap>
</orders>
<profiles siteName="NaturesWay">
<!-- Profile Encryption Settings
(To be used for storing asymmetrically encrypted
properties like Credit Card Numbers)
(Value below should be updated w/ your current
Public(/Private) Keys)
<encryption>
<keys keyIndex="1">
<add type="publicKey"
value="0602000000a4000052534131000200000100010077f77a0ad52def3b1b2e311257e70eaa0aa6c25c5d0f37f8d885a4fe9af5a3ae6a1b6d41ebeb3d7ad03d29d25b41aa5092a40a9357faedfe3ee9b94e195d31f3"/>
<add type="privateKey1"
value="0702000000a4000052534132000200000100010077f77a0ad52def3b1b2e311257e70eaa0aa6c25c5d0f37f8d885a4fe9af5a3ae6a1b6d41ebeb3d7ad03d29d25b41aa5092a40a9357faedfe3ee9b94e195d31f39fca3fac63eae9b56b52c895923d5db722832800b93fb0bb2037d00ee4a304fe29fcd1a3c8845ed8df56b6c761a8f87f617492b9eb3ddd1d7ff118ec081a17f51f1211a08993cd78a7a6a9f0a32d94dc9df141b1be2cf4868c9ba731072ee12ff13d09d52c4e95b70ad791cbd7f618d85b09c10812981504d1539df15b02eb8b29a903b77a1b4aa6dd544d08de33ba7f0bb18515b258f7e4afe
4ee9142d273e5d13e83971e6d6c843d3b8953efe735c50ad4eaf8b35a3e0602da43ba011969c7732fe0e465eafb539e0d71827b7314a5364fbfa45c8972cc768b7870f19cb2d4"/>
<add type="privateKey2"
value=""/>
</keys>
</encryption>
-->
</profiles>
<commerceEvent siteName="NaturesWay">
<add
className="Microsoft.CommerceServer.Runtime.AddItemToBasketEvent"
loggingEnabled="true"/>
<add
className="Microsoft.CommerceServer.Runtime.RemoveItemFromBasketEvent"
loggingEnabled="true"/>
<add
className="Microsoft.CommerceServer.Runtime.SubmitOrderEvent"
loggingEnabled="true"/>
</commerceEvent>
</CommerceServer>
<!-- END: COMMERCE SERVER CONFIGURATION SECTION -->
<!-- BEGIN: SOLUTIONS FRAMEWORK CONFIGURATION SECTION -->
<Solutions>
<!-- S E A R C H C O N F I G U R A T I O N -->
<searchConfiguration>
<searchProperty
propertyName="searchProviderParameter"
propertyValue="searchControl:searchList"/>
<searchProperty
propertyName="searchKeywordsParameter"
propertyValue="searchControl:searchInput"/>
<searchProperty
propertyName="advancedSearchProviderParameter"
propertyValue="advancedSearchControl:searchList"/>
<searchProperty
propertyName="advancedSearchKeywordsParameter"
propertyValue="advancedSearchControl:searchInput"/>
<searchProperty
propertyName="advancedSearchOptionParameter"
propertyValue="advancedSearchControl:advancedOptions"/>
<searchProperty
propertyName="defaultStartingIndex" propertyValue="0"/>
<searchProperty propertyName="maxResultSize"
propertyValue="0"/>
<!-- Note, if maxResultSize == 0, then the
results are unconstrained -->
<searchProperty
propertyName="contentDescriptionSize" propertyValue="500"/>
<!-- SPSv2Search BEGIN - added
defaultSPSv2FromClause and defaultSPSv2ScopeName (used by search code
in "SearchResults.aspx.cs") -->
<searchProperty
propertyName="defaultSPSv2CatalogName"
propertyValue="Non_Portal_Content"/>
<!-- SPSv2Search END -->
</searchConfiguration>
<!-- S E A R C H P R O V I D E R S -->
<searchProviders>
<searchProvider name="Commerce Search
Provider" type="Microsoft.Solutions.Framework.CommerceSearchProvider"
assembly="Microsoft.Solutions.Search, Version=5.0.1.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<displayNames>
<displayName culture="en-US"
value="Commerce Server Search"/>
<displayName culture="fr-FR"
value="Commerce Server Search IN FRENCH"/>
</displayNames>
</searchProvider>
</searchProviders>
<!-- BEGIN: CS2002STARTERSITE AUTHENTICATION
CONFIGURATION -->
<Authentication>
<Provider
Name="Microsoft.Solutions.Framework.CSAuthProvider"
Assembly="Microsoft.Solutions.AccountManagement, Version=5.0.1.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<!-- Type true to make the user name
case sensitive or false to make it case insensitive-->
<Param Name="IsUserNameCaseSensitive"
Value="false"/>
<!-- Integer value that controls
number of consecutive failed logins before the account is temporarily
disabled. A successful login causes the value to be reset -->
<Param Name="LoginRetryAttempts"
Value="5"/>
<!-- Integer value in minutes of time
to disable logins from the current browser session after login retry
limit has been hit or exceeded -->
<Param Name="LoginLockoutPeriod"
Value="3"/>
<!-- Type 'true' to enable use of IME
to enter passwords or 'false' to disable use of IME for passwords -->
<Param Name="EnableIMEForPassword"
Value="false"/>
<!-- Integer value in minutes that
indicates the period of time until the user must re-authenticate -->
<Param Name="AuthTicketTimeout"
Value="60"/>
<!-- Type 'false' to disable tracking
anonymous users or 'true' to track users by issuing an anonymous user
cookie -->
<Param Name="TrackAnonUsers"
Value="true"/>
<!-- SPSv2Search BEGIN NOTE: set
"TrackAnonUsers" param to "false" to excluded MSCSProfile tickets in
any searches. SPSv2Search End -->
</Provider>
</Authentication>
<!-- END: CS2002STARTERSITE AUTHENTICATION
CONFIGURATION -->
</Solutions>
<!-- END: SOLUTIONS FRAMEWORK CONFIGURATION SECTION -->
<!-- Begin: Site/Application specific Configuration settings
-->
<SiteSettings>
<AuthenticationPolicy>
<!-- Integer value that indicates minimum
number of characters in the username - kept at 7 to be in sync with
bizdesk -->
<Param name="UserNameMinLength" value="7"
type="System.Int32"/>
<!-- Integer value that indicates minimum
number of characters in the password - kept at 7 to be in sync with
bizdesk -->
<Param name="PasswordMinLength" value="7"
type="System.Int32"/>
</AuthenticationPolicy>
<TransactionPolicy>
<!-- Integer value that indicates maximum
number items allowed in a shopping cart -->
<Param name="CartMaxItems" value="100"
type="System.Int32"/>
<!-- Integer value that indicates maximum
quantity for cart line items -->
<Param name="CartMaxItemQuantity" value="9999"
type="System.Int32"/>
<!-- Integer value that indicates maximum
number items displayed in order history list -->
<Param name="OrderHistoryMaxItems" value="200"
type="System.Int32"/>
</TransactionPolicy>
<!-- BEGIN: SECURE TEXT BOX Configuration -->
<!-- Default configuration of every secure text box
control used in site pages will inherit the following config property
values -->
<SecureTextBox>
<!-- Unsafecharacters: Enter the set of unsafe
characters to be masked from user entry -->
<Param name="UnsafeCharacters"
value="<>"'%;)(&+-" type="System.String"/>
<!-- SearchUnsafeCharacters: Enter the set of
unsafe characters to be masked from user entry on the search controls
-->
<Param name="SearchUnsafeCharacters"
value="<>'%;)(&+" type="System.String"/>
<!-- MaxLength: Enter the default maximum
length of a secure text field -->
<Param name="MaxLength" value="0"
type="System.Int32"/>
<!-- RequireSSL: Enter 'true' or 'false' to
require SSL connections -->
<Param name="RequireSSL" value="false"
type="System.Boolean"/>
</SecureTextBox>
<!-- END: SECURE TEXT BOX Configuration -->
<!-- BEGIN: AddressDictionary Configuration -->
<AddressDictionary>
<!-- MaximumSize: Maximum number of address
book entries allowed per user -->
<Param name="MaximumSize" value="32"
type="System.Int32"/>
</AddressDictionary>
<!-- END: AddressDictionary Configuration -->
<!--
Output caching configuration

EnableCaching This
option enables or disables caching.
CacheLifetime This
option sets the cached item lifetime. The value is in seconds.
Cacheability This
option sets the cacheability of an item. An item can be NoCache,
Public, Private, or Server.
ValidUntilExpires This
option keeps an item valid until it expires. Refreshing from the
client will not flush the cache.
SlidingExpirationEnabled This option
enables or disables the sliding windo algorithm. When enabled a cache
hit resets the timer.
BufferPageOutputEnabled This option
enables or disables full page buffering. When enabled all fragements
on a page are buffered

and sent at once.
-->
<OutputCaching>
<Param name="EnableCaching" value="true"
type="System.Boolean"/>
<Param name="CacheLifetime" value="3600"
type="System.Int32"/>
<Param name="Cacheability" value="Server"
type="System.String"/>
<Param name="ValidUntilExpires" value="true"
type="System.Boolean"/>
<Param name="SlidingExpirationEnabled"
value="false" type="System.Boolean"/>
<Param name="BufferPageOutputEnabled"
value="true" type="System.Boolean"/>
<param name="VaryByHeaders" value="None"
type="System.String"/>
<param name="VaryByParams" value="*"
type="System.String"/>
<param name="VaryByCustom"
value="CS2002StarterSiteCustomCacheKey" type="System.String"/>
</OutputCaching>
<!--
headerMenu - Defines the contents and appearence
of the Top Navigation Menu
footerMenu - Defines the contents and appearence
of the Bottom Navigation Menu

CssClasses - Definea the CSS Classes used to
format the menu items. The values must
be class names defined in
"styles.css". Note the the header defines
styles for the panel, links, and
separator, while the foot only defines
a style for the link.

items/item - Each item defines a navigation bar
link item.
DisplayName is the resource ID of the
link text
Url is the relative URL for the link.
-->
</SiteSettings>
<!-- End: Site/Application specific Configuration settings -->
<!-- Begin: ASP.NET configuration for this site -->
<system.web>
<pages smartNavigation="false"/>
<httpModules>
<add name="CommerceApplication"
type="Microsoft.CommerceServer.Runtime.CommerceApplicationModule,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<add name="CommerceAuthentication"
type="Microsoft.CommerceServer.Runtime.CommerceAuthenticationModule,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<add name="CommerceOrder"
type="Microsoft.CommerceServer.Runtime.Orders.CommerceOrderModule,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<add name="CommerceCatalog"
type="Microsoft.CommerceServer.Runtime.Catalog.CommerceCatalogModule,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<add name="CommerceProfile"
type="Microsoft.CommerceServer.Runtime.Profiles.CommerceProfileModule,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<add name="CommerceExpressionEvaluator"
type="Microsoft.CommerceServer.Runtime.Targeting.CommerceExpressionModule,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<add name="CommerceCache"
type="Microsoft.CommerceServer.Runtime.Caching.CommerceCacheModule,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<add name="CommerceContentSelection"
type="Microsoft.CommerceServer.Runtime.Targeting.CommerceContentSelectionModule,
Microsoft.CommerceServer.Runtime, Version=4.5.2002.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
<!-- Solutions SEARCH Module
This intercepts every request and generates a
SearchContext object.
-->
<add name="Search"
type="Microsoft.Solutions.Framework.SearchHttpModule,
Microsoft.Solutions.Search, Version=5.0.1.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
</httpModules>
<!-- DYNAMIC DEBUG COMPILATION
Set compilation debug="true" to insert debugging symbols
(.pdb information)
into the compiled page. Because this creates a larger file
that executes
more slowly, you should set this value to true only when
debugging and to
false at all other times. For more information, refer to
the documentation about
debugging ASP.NET files.
-->
<compilation defaultLanguage="c#" debug="true">
<assemblies>
<add
assembly="Microsoft.CommerceServer.Runtime, Version=4.5.2002.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add
assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226,
Culture=neutral"/>
<add
assembly="Microsoft.Solutions.AccountManagement, Version=5.0.1.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add
assembly="Microsoft.Solutions.Search, Version=5.0.1.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add
assembly="Microsoft.Solutions.Shared, Version=5.0.1.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</assemblies>
</compilation>
<!-- CUSTOM ERROR MESSAGES
Set customErrors mode="On" or "RemoteOnly" to enable
custom error messages, "Off" to disable.
Add <error> tags for each of the errors you want to
handle.
NOTE: For each document url you add here - ensure
Application_BeginRequest method is modified..
-->
<customErrors mode="Off">
<error statusCode="404"
redirect="Notfound.aspx"/>
</customErrors>
<!-- AUTHENTICATION
This section sets the authentication policies of the
application. Possible modes are "Windows",
"Forms", "Passport" and "None"
-->
<authentication mode="Windows"/>
<!-- AUTHORIZATION
This section sets the authorization policies of the
application. You can allow or deny access
to application resources by user or role. Wildcards: "*"
mean everyone, "?" means anonymous
(unauthenticated) users.
-->
<authorization>
<allow users="*"/>
<!-- Allow all users -->
<!-- <allow users="[comma separated list
of users]"
roles="[comma separated list of roles]"/>
<deny users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
-->
</authorization>
<!-- APPLICATION-LEVEL TRACE LOGGING
Application-level tracing enables trace log output for
every page within an application.
Set trace enabled="true" to enable application trace
logging. If pageOutput="true", the
trace information will be displayed at the bottom of each
page. Otherwise, you can view the
application trace log by browsing the "trace.axd" page
from your web application
root.
-->
<trace enabled="false" requestLimit="10"
pageOutput="false" traceMode="SortByTime" localOnly="true"/>
<!-- SESSION STATE SETTINGS
By default ASP.NET uses cookies to identify which requests
belong to a particular session.
If cookies are not available, a session can be tracked by
adding a session identifier to the URL.
To disable cookies, set sessionState cookieless="true".
-->
<sessionState mode="Off"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;user id=sa;password="
cookieless="false" timeout="20"/>
<!-- GLOBALIZATION
This section sets the globalization settings of the
application.
-->
<globalization requestEncoding="utf-8"
responseEncoding="utf-8" culture="en-US" uiCulture="en-US"/>
</system.web>
<!-- End: ASP.NET configuration for this site -->
<NavigationBars>
<headerMenu>
<CssClasses panel="corporateLinksPanel"
link="corporateHyperLink" separator="corporateHyperLinkSeparator"/>
<separator><text> | </text></separator>
<items>
<item DisplayName="homeLinkText"
Url="Default.aspx"/>
<item DisplayName="aboutUsLinkText"
Url="AboutUs.aspx"/>
<item DisplayName="FAQsLinkText"
Url="FAQs.aspx"/>
<item DisplayName="privacyLinkText"
Url="Privacy.aspx"/>
<item
DisplayName="investorRelationsLinkText" Url="InvestorRelations.aspx"/>
<item DisplayName="contactUsLinkText"
Url="ContactUs.aspx"/>
<item DisplayName="careersLinkText"
Url="Careers.aspx"/>
<item DisplayName="productsLinkText"
Url="Product.aspx"/>
<item DisplayName="myAccountLinkText"
Url="MyAccount.aspx"/>
</items>
</headerMenu>
<footerMenu>
<CssClasses link="policyHyperLink"/>
<separator><text>  </text></separator>
<items>
<item DisplayName="homeLinkText"
Url="Default.aspx"/>
<item
DisplayName="shippingPolicyLinkText" Url="ShippingPolicy.aspx"/>
<item
DisplayName="returnPolicyLinkText" Url="ReturnPolicy.aspx"/>
<item
DisplayName="creditCardPolicyLinkText" Url="CreditCardPolicy.aspx"/>
</items>
</footerMenu>
</NavigationBars>
</configuration>
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB