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 / Classic ASP versions(v3.4.XX)
 Session Management
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

cfusiongod
Starting Member

13 Posts

Posted - 03 February 2004 :  15:13:39  Show Profile  Send cfusiongod an AOL message
Hey guys I have this forum inside my coldfusion app. Id like to make it so when you login on my site you are logged in on the forums as well.

On my site when you log in I am setting session.user to the user's id in the DB. Is there a way i can make the snitz forums recognize this or is it easier to make my app use the forums session or cookie variables?

On what page is the session management variables being set in the forums?

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 03 February 2004 :  18:26:17  Show Profile  Send ruirib a Yahoo! Message
Snitz login is not handled by sessions, but by cookies. The function that sets Snitz cookies is the doCookies function in inc_func_common.asp, invoked from inc_header.asp.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

cfusiongod
Starting Member

13 Posts

Posted - 03 February 2004 :  22:20:40  Show Profile  Send cfusiongod an AOL message
ok So if I set a cookie with the same name in my cf app will the forum recognize it?

If not can i make the cf form that I use to login on the cf part of the site go into the docookies function and set the cookie that way?
Go to Top of Page

cfusiongod
Starting Member

13 Posts

Posted - 03 February 2004 :  22:37:22  Show Profile  Send cfusiongod an AOL message
I guess what I am asking is can I have a html form with a username and password that passes into whatever function checks the username and password against the forum_members table and sets the cookie?

I know nothing about asp but have my forums inside a cf application. I have a login within the cf application and would like to make it that no matter where they login, be it in the cf app or the snitz forums, that they get logged in no matter which login module they used.

Can anyone help me with letting me know if its possible and if it is what I put into the action/method in my form tag and what I need to call each form field (username, passord)

Thank you.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 04 February 2004 :  04:07:02  Show Profile  Send ruirib a Yahoo! Message
You can create the cookie like Snitz does it, yes. Of course Snitz, after reading the cookie, checks the FORUM_MEMBERS table to confirm the username and password, so the MEMBERS table must be properly filled in.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

cfusiongod
Starting Member

13 Posts

Posted - 04 February 2004 :  09:05:22  Show Profile  Send cfusiongod an AOL message
ok so when I set the cookies in coldfusion what cookies do I need to set and what are their names?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 04 February 2004 :  09:43:03  Show Profile  Send ruirib a Yahoo! Message
Have a look at the doCookies function in inc_func_common.asp, as I wrote before. I don't know the exact details without looking, either.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

cfusiongod
Starting Member

13 Posts

Posted - 04 February 2004 :  10:18:40  Show Profile  Send cfusiongod an AOL message
I saw the function but am not sure how to call it in an html form tag nor what I must call the form fields. the asp makes no sense to me lol
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 04 February 2004 :  16:16:53  Show Profile  Send ruirib a Yahoo! Message
You can only call it from another ASP app. Can't you understand what cookies are being created? Do you know a programming language?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Joe_L
Starting Member

1 Posts

Posted - 20 February 2004 :  00:58:39  Show Profile
cfusiongod OR anyone else that may know.... I would like to use Snitz with a program called intranetconnections.com I really want to use the intranet id/password to log into Snitz. Has anyone done that for this program? The program is in CF.
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.45 seconds. Powered By: Snitz Forums 2000 Version 3.4.07