Commerce Server General - PRB: Profile ticket written to URL incorrectly

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > November 2004 > PRB: Profile ticket written to URL incorrectly





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author PRB: Profile ticket written to URL incorrectly
Craig Boland

2004-11-12, 5:49 pm

We are experiencing an intermittent problem whereby the profile ticket is
written to the URL incorrectly. Example (ticket value truncated for brevity):

http://my.server.com/Categories.asp...tegory=Desktops(LiveCatalog)?MSCSProfile=9E133C53BD3 ...

Some observations:
- We're using CS2K SP2 on load-balanced W2K Server farm (2 nodes), with
MSIB 2.1
- The user is shopping anonymously.
- Web.config setting: <authentication detectCookies="true"/>
- Web.config setting: <application siteName="CTO" debugLevel="Production"/>
- Using CommerceContext.Current.QueryStringBuilder.BuildUrl to build the URLs
- It seems to occur only when clicking around the site rapidly.
- Sometimes the ticket is written to the URL correctly (i.e. ...
category=Desktops(LiveCatalog)&MSCSProfile=9E133C53BD3 ...

Craig Boland

2004-11-12, 5:49 pm

We found the problem and it's our own WTF! We have a custom URL builder class
and we were feeding it a page name with hard-coded query string params. Then,
when CS decides to append the profile ticket, it is unaware that it is
appending the ticket to a url with query params!


"Craig Boland" wrote:

> We are experiencing an intermittent problem whereby the profile ticket is
> written to the URL incorrectly. Example (ticket value truncated for brevity):
>
> http://my.server.com/Categories.asp...tegory=Desktops(LiveCatalog)?MSCSProfile=9E133C53BD3 ...
>
> Some observations:
> - We're using CS2K SP2 on load-balanced W2K Server farm (2 nodes), with
> MSIB 2.1
> - The user is shopping anonymously.
> - Web.config setting: <authentication detectCookies="true"/>
> - Web.config setting: <application siteName="CTO" debugLevel="Production"/>
> - Using CommerceContext.Current.QueryStringBuilder.BuildUrl to build the URLs
> - It seems to occur only when clicking around the site rapidly.
> - Sometimes the ticket is written to the URL correctly (i.e. ...
> category=Desktops(LiveCatalog)&MSCSProfile=9E133C53BD3 ...
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com