Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

autologin with existing cookies

Quote Reply
autologin with existing cookies
In leiu of GCommunity being availableWink, I have been trying to figure out how to "automagically" log my users into gforum if they have already signed in on another part of my site. When signed in they have a "username" and "password" cookie. I've done it by hacking GForum.pm, which I'd rather not.

Can anyone think of a snippet of code that could be used to take the cookies and auto-login the user when they visit gforum? I'm thinking that some code in a global variable that calls the cookies and then logs them in (if they aren't already) should do it, but I haven't figured out the "logs them in" part. Then the global could be called in the templates.

Or am I completely off track here?

Any ideas would be greatly appreciated.
Michael Coyne
seaturtle.org
Subject Author Views Date
Thread autologin with existing cookies mcoyne 3175 May 9, 2002, 12:50 PM
Thread Re: [mcoyne] autologin with existing cookies
Jagerman 3093 May 14, 2002, 6:43 PM
Thread Re: [Jagerman] autologin with existing cookies
mcoyne 3095 May 16, 2002, 8:53 AM
Thread Re: [mcoyne] autologin with existing cookies
Jagerman 3085 May 16, 2002, 11:21 AM
Thread Re: [Jagerman] autologin with existing cookies
mcoyne 3077 May 16, 2002, 11:53 AM
Thread Re: [mcoyne] autologin with existing cookies
Jagerman 3093 May 16, 2002, 11:53 AM
Post Re: [Jagerman] autologin with existing cookies
mcoyne 3062 May 16, 2002, 12:12 PM
Post Re: [Jagerman] autologin with existing cookies
mcoyne 3057 May 21, 2002, 11:14 AM
Post Re: [mcoyne] autologin with existing cookies
hennagaijin 2968 Sep 13, 2002, 5:32 AM
Post Re: [mcoyne] autologin with existing cookies
hennagaijin 3049 Sep 13, 2002, 5:40 AM