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)
 Passing Login information from another page??
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mshulman
Starting Member

USA
10 Posts

Posted - 21 June 2001 :  17:02:28  Show Profile  Visit mshulman's Homepage
I've got a website that already requires users to login. I've managed to edit the registration information for that part of the website, so it populates the FORUM_MEMBERS table appropriately. My ASP knowledge is somewhat limited so any help is appreciated.

What I'm trying to do is allow the user to log in to the main page and then have them automatically logged into the forums when they get to that. In testing, I've been trying to save their username and password in a session variable, but I've had no luck.

Any help is appreciated.

Thanks.

big9erfan
Average Member

540 Posts

Posted - 21 June 2001 :  17:22:21  Show Profile
store it in the cookie

Response.Cookies(strUniqueID & "User")("Name") = login name
Response.Cookies(strUniqueID & "User")("Pword") = password

Give that a try


http://www.ugfl.net/forums
Go to Top of Page

thewebgeeks
Starting Member

18 Posts

Posted - 22 June 2001 :  05:58:03  Show Profile
See this post... it will get you a little closer, now if someone will only help me, we can both get it!

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=11611&FORUM_ID=34&CAT_ID=10&Topic_Title=Customizing+Snitz&Forum_Title=Help%3A++General



Edited by - thewebgeeks on 22 June 2001 05:59:56
Go to Top of Page

mshulman
Starting Member

USA
10 Posts

Posted - 22 June 2001 :  11:09:20  Show Profile  Visit mshulman's Homepage
I tried that and it didn't work.

What is the strUniqueID?

I've never worked with cookies before.

Thanks.

Go to Top of Page

mshulman
Starting Member

USA
10 Posts

Posted - 22 June 2001 :  12:12:34  Show Profile  Visit mshulman's Homepage
I got it to work! Thanks!

I had put the code into the login.asp page I had for the other part of my site and that didn't work. I changed it and added the code to inc_top.asp and that worked.

Thanks again.

One thought though - How could I get this to work for users that won't allow cookies?


Edited by - mshulman on 22 June 2001 12:13:36
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 22 June 2001 :  13:20:03  Show Profile  Visit dayve's Homepage
if they are not running cookies they are not going to have fun on your forum in the first place because they will need to log on every time they post and reply so this should not be an issue then.

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