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)
 auto login from outside Snitz
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

alexcarr
Starting Member

6 Posts

Posted - 30 July 2001 :  06:43:48  Show Profile
Yes I know this question has been asked before but I'm having real difficulties trying to track down where in the archives or current forums the info lives, so I'd really appreciate it if someone could once again point a newbie in the right direction!

I have a requirement to give access to the user from a login page seperate to Snitz's inc_top file(s). I've been looking at the code to try and decifier how its done but am having difficulties. Does anyone know of a MOD, help file, previous example or can be bothered typing in a simple set of instructions so that I can have somethign to work with?

All I have decified so far is that a cookie is created when logging in with the user name, passsword and a unqiue user ID (how this is created I dont know)!

Many thanks

Alex

BugLaden
Starting Member

45 Posts

Posted - 30 July 2001 :  15:17:46  Show Profile  Visit BugLaden's Homepage  Send BugLaden an AOL message
I did implement this in my site, as I'm sure others have. You have to delve into the code, specifically do searches on the word "cookies".

I would give a code example but it encompasses several asp files. If you like I can mail you the files and you can glean what you can out of it.

-=BugLaden
CCG Workshop Developer
http://www.ccgworkshop.com
Go to Top of Page

alexcarr
Starting Member

6 Posts

Posted - 31 July 2001 :  04:21:46  Show Profile
Actually I think I managed to do it with just these lines...

<%
strCookieURL = Left(Request.ServerVariables("Path_Info"), InstrRev(Request.ServerVariables("Path_Info"), "/"))
strUniqueID = "Snitz00"
Response.Cookies(strUniqueID & "User").Path = strCookieURL
Response.Cookies(strUniqueID & "User")("Name") = Request.Form("username")
Response.Cookies(strUniqueID & "User")("Pword") = Request.Form("password")
%>

I would appear to be logging in with just this.

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.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07