Cookie Value is URL encoded

rated by 0 users
This post has 2 Replies | 2 Followers

csandersii
Not Ranked
Posts 18
Points 225
By: csandersii
Posted: Tue, Apr 24 2007 10:33 AM

Is there a way for CS to read a URL encoded value string for the custom authentication cookie.

 example: username%3DJohn%26emailAddress%3Djoh.doe@noplace.com
 

 
Xander
Top 50 Contributor
Posts 322
Points 3,765
CS Developers
By: Xander
Posted: Tue, Apr 24 2007 11:58 AM In reply to

Not currently in the format that you have.   Community Server does expect the individual values to be URL-encoded, but not the entire string of name-value pairs as a single value.  

Hope this helps,

Xander
 

 
  • Post Points: 20 |
csandersii
Not Ranked
Posts 18
Points 225
By: csandersii
Posted: Tue, Apr 24 2007 12:25 PM In reply to

 I've made changes in the cookie to not be URL encoded, but it doesn't seem to be picking up the cookieAuthentication in CS at all.

 The web.config is set to:

 
    <authentication mode="None">
      <!--<forms name=".CommunityServer" protection="All" timeout="60000" loginUrl="login.aspx" slidingExpiration="true" />-->
    </authentication>

 

And in the communityserver.config file I've made sure the cookie username and emailAddressKeys are matching up to the values set int he cookie.  Once I go to the CS site it just displays as though I'm not already authenticated.

 
How do you get the cookieAuthtest.aspx file that I've seen people referring to?

 
Thanks for your help.
 

 
Page 1 of 1 (3 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com