Programming, technology, and CRM – from a Belgian programmer exiled to Missouri
  • rss
  • Home
  • Soft Gallery
    • autosvnbackup.sh
    • VBScript Snippets
  • Contact Me
  • Welcome

Saleslogix web cookie

Nicolas Galler | February 18, 2007

Saleslogix web uses a cookie named slxweb for its session info. This is where the authenticated user id etc are stored. For the customer portal the conid and accid from this cookie are used (there is probably another more “real” session mechanism that uses the DB, I didn’t check). Anyway the data in slxweb is stored in encoded form, you need to use the SLXRWEL library to decode it. The password is simply the user’s host. Code:

String slxweb = Request.Cookies["slxweb"].Value;
SLXRWEL.SLXRWEOBJClass slxRwEl = new SLXRWEL.SLXRWEOBJClass();
try
{
slxweb = slxRwEl.RemoveKey(slxweb, Request.UserHostAddress);
}
finally
{
System.Runtime.InteropServices.Marshal.ReleaseComObject(slxRwEl);
}

Categories
Programming
Comments rss
Comments rss
Trackback
Trackback

« XSLT br tag with MSXML Mono »

Leave a Reply

Click here to cancel reply.

Categories

  • Experiments (4)
  • Interesting (1)
  • MSCRM (1)
  • Programming (60)
  • Rant (3)
  • Saleslogix (34)
  • Tricks (8)
  • Uncategorized (30)

Post History

  • 2010
    • January (3)
    • March (3)
    • April (2)
    • August (2)
  • 2009
    • March (2)
    • April (1)
    • May (3)
    • June (3)
    • July (1)
    • September (3)
    • October (2)
    • December (5)
  • 2008
    • January (9)
    • February (4)
    • March (9)
    • April (1)
    • May (5)
    • June (8)
    • July (1)
    • August (2)
    • September (1)
    • November (1)
    • December (3)
  • 2007
    • January (3)
    • February (7)
    • March (1)
    • April (3)
    • May (6)
    • June (2)
    • July (1)
    • August (2)
    • September (5)
    • October (3)
    • November (5)
    • December (4)
  • 2006
    • January (2)
    • September (1)
    • November (3)
    • December (4)
  • 2005
    • April (1)

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox