Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 integrating forum with existing site login
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

nickcoyne
Starting Member

3 Posts

Posted - 18 April 2001 :  10:02:11  Show Profile  Visit nickcoyne's Homepage
I have a forum within a secure site, that users must already login. How/where can I add/change code to allow my existing username credentials to be passed when one enters the main forum page? I obviously don't want people to have to login again once they go to the forum. I have already integrated the user creation process, so when a new user is created for my site, their snitz member details are also inserted.

TIA
Nick

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 18 April 2001 :  10:33:15  Show Profile  Visit Kat's Homepage
Do a search for posts by Kat. There is quite a bit of info about this topic already here.

KatsKorner
Go to Top of Page

nickcoyne
Starting Member

3 Posts

Posted - 18 April 2001 :  11:01:25  Show Profile  Visit nickcoyne's Homepage
If I understand those posts I must replace every instance of a cookie lookup with one that points to session variables that I'm already using. Which cookies are affected (so I can do a proper search for them!), and what kind of info is in them ie loginname, member id, password etc?

Thanks for any help

Nick
Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 18 April 2001 :  11:18:12  Show Profile  Visit Kat's Homepage
The cookies you are looking for are:

Request.Cookies(strUniqueID & "User")("Pword"))

Request.Cookies(strUniqueID & "User")("Name"))

It is a bit of a laborious job. They are both the same cookie but you are pulling out password and username(alias) from them individually.

You will also need to have a look at the DoCookies and ClearCookies routines in inc_functions.asp to make sure they aren't affected. I can't remember. It was ages since I did mine.

hths.

KatsKorner
Go to Top of Page

dbianco
Starting Member

7 Posts

Posted - 18 April 2001 :  11:45:31  Show Profile
can you please help me find those old articles . I've done a search but I cant find any old ones just recent posts.

Thank you in advance

D

Go to Top of Page

nickcoyne
Starting Member

3 Posts

Posted - 18 April 2001 :  12:02:35  Show Profile  Visit nickcoyne's Homepage
Looks like a helluva lot of work, thanks though.

Nick

<%=Cannot find reality.sys
Universe Terminated%>
Go to Top of Page

SportsLeak
Starting Member

6 Posts

Posted - 21 April 2001 :  01:19:15  Show Profile
I am looking to do the same thing but cannot find
Request.Cookies(strUniqueID & "User")("Pword")
in any of my pages.

Should i change
Request.Cookies(strCookieURL & "User")("Name")


Go to Top of Page

barky81
Junior Member

USA
166 Posts

Posted - 21 April 2001 :  13:49:40  Show Profile
What version of Snitz are you running?

quote:

I am looking to do the same thing but cannot find
Request.Cookies(strUniqueID & "User")("Pword")
in any of my pages.

Should i change
Request.Cookies(strCookieURL & "User")("Name")






Go to Top of Page

SportsLeak
Starting Member

6 Posts

Posted - 21 April 2001 :  22:29:47  Show Profile
I think it is version 3.1 but an not sure

Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 22 April 2001 :  01:17:31  Show Profile
Park your mouse over the powered by graphic (or link) at the bottom of the page. The tooltip will tell your version.


======
Doug G
======
Go to Top of Page

RedLeader
New Member

USA
85 Posts

Posted - 22 April 2001 :  10:21:56  Show Profile  Visit RedLeader's Homepage  Send RedLeader an AOL message
Not sure if this will help or not. I was facing the situation. I have a protected area of my site and the usernames and passwords are stored in a SQL Server 7 Database.

What I did was, when a new user was created for my site, I added their username, password and email to the FORUM_MEMBERS. I Also set the cookies to website.

It seems to work fine.


RL

Go to Top of Page

ferdiee
Starting Member

USA
3 Posts

Posted - 23 April 2001 :  13:11:02  Show Profile
RedLeader,

Could you please explain how you changed the cookies setting to website?
I'm sorry if this sounds like a stupid question, but i'm new to all these.. still learning Thanks.
Go to Top of Page

ferdiee
Starting Member

USA
3 Posts

Posted - 23 April 2001 :  13:44:43  Show Profile
Nevermind.. already found out the answer

Go to Top of Page

Levteck
Starting Member

USA
15 Posts

Posted - 23 April 2001 :  15:10:16  Show Profile  Visit Levteck's Homepage
In the single login discussion of the Snitz Forum, Could you explain or tell me where to find info on how you changed the cookies setting to website?

Thank you
Go to Top of Page

ferdiee
Starting Member

USA
3 Posts

Posted - 23 April 2001 :  17:15:10  Show Profile
Before I go any further, I think I need to let you know that I'm new at this, and what I'm doing might not be the right thing to do, but it works for me..

Well, I started out reading some articles about cookies.. and you can find that info here: http://www.cookiecentral.com/faq/

In section 3.2, they mentioned something about cookies for the entire site.. and that's what I did.. I changed the cookie to be the cookie of the entire site instead of just the forum.

I went to config.inc and change the strCookieURL value to:
strCookieURL = "/"
And that does it..

Hope it helps.


Ferdie.

Go to Top of Page

marc
Junior Member

Belgium
175 Posts

Posted - 23 April 2001 :  18:03:08  Show Profile
Hi.

Marc Valentin
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07