Cookie in URL
« on: February 21, 2008, 12:22:11 AM »
I am trying to use a browser defintion below for the sitemap generator as it is generating these kind of urls.  So you can see the cookie is being stored in the url.  How can I stop this in asp.net? Is my user agent correct in the browser code below.

<url>
  <loc>[ External links are visible to forum administrators only ]</loc>
  <priority>0.5</priority>
  <changefreq>daily</changefreq>
</url>

Browser definition:

    <browser id="GenericMozilla5" parentID="Mozilla">
        <identification>
            <userAgent match="Mozilla/5\.(?'minor'\d+).*[C|c]ompatible; ?(?'browser'.+); ?\+?(http://.+)\)" />
            <userAgent match="XML Sitemaps Generator 1.0 (https://www.xml-sitemaps.com/)" />
        </identification>
        <capabilities>
            <capability name="majorversion" value="5" />
            <capability name="minorversion" value="${minor}" />
            <capability name="browser" value="${browser}" />
            <capability name="Version" value="5.${minor}" />
            <capability name="activexcontrols" value="true" />
            <capability name="backgroundsounds" value="true" />
            <capability name="cookies" value="true" />
            <capability name="css1" value="true" />
            <capability name="css2" value="true" />
            <capability name="ecmascriptversion" value="1.2" />
            <capability name="frames" value="true" />
            <capability name="javaapplets" value="true" />
            <capability name="javascript" value="true" />
            <capability name="jscriptversion" value="5.0" />
            <capability name="supportsCallback" value="true" />
            <capability name="supportsFileUpload" value="true" />
            <capability name="supportsMultilineTextBoxDisplay" value="true" />
            <capability name="supportsMaintainScrollPositionOnPostback" value="true" />
            <capability name="supportsVCard" value="true" />
            <capability name="supportsXmlHttp" value="true" />
            <capability name="tables" value="true" />
            <capability name="vbscript" value="true" />
            <capability name="w3cdomversion" value="1.0" />
            <capability name="xml" value="true" />
            <capability name="tagwriter" value="System.Web.UI.HtmlTextWriter" />
        </capabilities>
    </browser>
Re: Cookie in URL
« Reply #1 on: February 22, 2008, 12:34:36 AM »
Please try this identification string:
Code: [Select]
            <userAgent match="XML Sitemaps Generator.*" />