Remember Me Function

Remember Me Function

Old forum URL: forums.lhotka.net/forums/t/102.aspx


JoeWork posted on Monday, May 15, 2006

Hi All,

 

I saw this in another thread and as you still apprear to have the problem here I thought I would post a solution I found that fixed my own site.

You modify web.config with this

Add this line

<machineKey validationKey="xxxxxxxxx" decryptionKey="xxxxxxxxx" validation="SHA1" />       

directly within the <system.web> region of web.config (it can't be within another region within system.web).  Set validationKey, decryptionKey, and validation on this line to match the corresponding values for MachineValidationKey, MachineDecryptionKey, and MachineValidationMode in the <appSettings> region.

 

The above was taken form this thread on CS Forums

http://communityserver.org/forums/5/509974/ShowThread.aspx

 

 

It fixed my site so hopefully it will fix this one

 

 

RockfordLhotka replied on Monday, May 15, 2006

Thank you Joe, I really appreciate your help tracking down the solution!

I have applied the change (just now) so hopefully it solves the issue.

Vaxman2 replied on Monday, May 15, 2006

Fixed the problem for me at least!  Yea!

 

Edit: I may have spoken too soon! :(

ChrisD replied on Thursday, June 01, 2006

Sorry to be a pain guys but the "remember me" functionality is still not working for me.  No matter how recently I have logged into the forum it still wants to forget the fact that I was logged in.

It's not a huge effort to log in again but this issue is still not resolved yet.

Is anyone else still having problems with this?

Cheers

ChrisD

CrispinH replied on Thursday, June 01, 2006

Chris

Yes, I'm still having problems with this as well.

Crispin

ajj3085 replied on Thursday, June 01, 2006

I'll add a 'Me too' to this thread.

RockfordLhotka replied on Thursday, June 01, 2006

It is most certainly not working. I tried the fix posted earlier and it appears to have had no impact, so obviously it must be another problem...

I'm (more or less) on vacation this week, but next week I'll email the CS 2.0 guys about this and about the mail gateway crashing issues and see if they have any answers.

JoeWork replied on Thursday, June 01, 2006

Guys your quite right on this site it still appears that it's not working.

 

Rocky one other thing to check is the cookie settings you can find them in the admin control panel under Membership/Cookie and Anonymous Settings

I did change mine to my domain name in the cookie domain field.

 

The guys having trouble it might also be worth trusting this domain as it may be that your browser is not allowing the cookie creation?

 

Joe

 

RockfordLhotka replied on Thursday, June 01, 2006

Thanks Joe, I've now tried that, so hopefully it makes a difference.

CrispinH replied on Thursday, June 01, 2006

Rocky

My login is now working.  I didn't need to change IE cookie settings, it just worked.

Crispin

DavidDilworth replied on Friday, June 02, 2006

Working for me now too, with no changes to my browser.

Thanks.

ajj3085 replied on Tuesday, June 06, 2006

Still not working for me unfortunatly.. I'll try clearing my cookies.

Using FF1.5.0.4 WinXP.

Andy

ajj3085 replied on Tuesday, June 06, 2006

Something weird..

I removed all cookies, but 2 keep coming back.  MSDN and forums.lhotka.net.  I clear them, I manually delete the cookies file, but they just keep coming back.

The MSDN cookie is also a CS server cookie; so it seems like a CS issue.

Andy

ajj3085 replied on Tuesday, June 20, 2006

Is there any solution to this?  Its happening more frequently; even when I'm trying to post a reply.  Sad [:(]

RockfordLhotka replied on Tuesday, June 20, 2006

I don't know why it would be getting worse - but your issue with the cookies not being deletable seems odd and probably indicates an issue on your machine. I am able to delete the cookies and they don't come back until I return to the forums.

Now why the remember me function only seems to last for a couple hours and isn't permanent I just don't know, and haven't had time to research.

ajj3085 replied on Tuesday, June 20, 2006

I cookie issue seems to be a firefox one, as I recently reformatted my workstation (for other problems) and it still happens.

I'll search again to see if I can't find a resultion to the remember me function.

Thanks for the reply.
Andy

RockfordLhotka replied on Wednesday, June 21, 2006

With the help of the CS guys I think the remember me function is finally resolved and should be working (keeping my fingers crossed).

ajj3085 replied on Wednesday, June 21, 2006

Awesome.  Is there anything I would need to do (such as clear old cookies) that may prevent a fix from working for me?

RockfordLhotka replied on Thursday, June 22, 2006

That couldn't hurt, though on both machines where I've tested this, it just worked without any effort on my part.

jking078 replied on Tuesday, June 27, 2006

This function not working seems to be affecting users of various applications based on ASP.NET 2.0.  It seems that it is NOT a CommunityServer.org specific issue (users of DotNetNuke.com are reporting same problem when using the ASP.NET 2.0 edition of that application).  It seems that basically a "feature" that existed in ASP.NET 1.1 is now fixed so that it actually works, where it was ignored before. I can't verify this myself, but suggest the following: 

In web.config,

<authentication mode="Forms">
    <forms name=".CommunityServer" protection="All" timeout="60" />
</authentication>

The "timeout" is now honored in ASP.NET 20, where it was ignored in ASP.NET 1.1. Time is in minutes, so cookie only last 60 mins. If it was changed to say a week (10080 minutes) or something...

Jeff

 

ajj3085 replied on Tuesday, June 27, 2006

I'm not sure what Rocky did, but this feature does seem to be fixed for me now.

Copyright (c) Marimer LLC