Help With Log-In Form...

This is a discussion on "Help With Log-In Form..." within the Classic ASP section. This forum, and the thread "Help With Log-In Form... are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices




Closed Thread
 
LinkBack Thread Tools
  #1  
Old Aug 11th, 2003, 18:00
Rob's Avatar
Rob Rob is offline
Webforumz Founder
Join Date: Jul 2003
Location: Southern UK
Age: 34
Posts: 3,192
Blog Entries: 7
Thanks: 27
Thanked 23 Times in 20 Posts
Well Stephen....

If subscriptions to all forums were at forum level, then you can see a problem here, I sure.

As admins and mods are the only people allowed in *this* particular one, I have allowed forum subscriptions for this.

Consider even just 500 users.... with forum (and whole board) subscriptions, then you are potentially looking at 500 emails being sent per post.... but what the hell dude... it's your bandwidth.

Additionally besides the bandwidth thing, there is the performance issue to think of.... seriously, it could be a real issue as the site grows if we allow forum, level subscriptions.
__________________
Click the 'Thanks!' button if this post has helped you

Rob - Webforumz Founder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Aug 11th, 2003, 18:02
Anonymous User
Guest
Posts: n/a
Well, programmer guru. Lets change the subscriber code to allow only Mods or Admins to subscribe to a forum. Then we can monitor traffic from the comfort of our couches.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old Aug 11th, 2003, 18:09
Rob's Avatar
Rob Rob is offline
Webforumz Founder
Join Date: Jul 2003
Location: Southern UK
Age: 34
Posts: 3,192
Blog Entries: 7
Thanks: 27
Thanked 23 Times in 20 Posts
good mod.... but right now dude, I am still learning about this major product..... as myself and Sam (Smokey) have already learnt to our mispent lunch hours, it is a spaghetti work off code written in multiple languages and certainly not something you can mod that easily.

I will however make it a priority, and maybe we need a moderator / admin forum for 'to do' or 'tasklist'. What do others think?
__________________
Click the 'Thanks!' button if this post has helped you

Rob - Webforumz Founder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old Aug 11th, 2003, 18:49
Anonymous User
Guest
Posts: n/a
I would say lets make that list. If nothing else, some of use can research if a MOD exsists already for that. There are MANY MODS for this program.

Its functionality could be improved upon. I am game.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old Apr 9th, 2004, 09:45
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
Help With Log-In Form...

Ok, well I got the Registration form up and running.. (well haven't learned how to check forms just yet but got the basics...) Ok, now what I need to do is to check the Database to see if the Username and Password is already there. Then if so take them to a Members.htm, and if not take them to Form2.htm.

Feel Free to try out my Form by the way... here it is: www.haeglodesigns.com/ASPTests/Form2.htm

Ok, so what I am asking is how do I (without yall doing it for me of course...) go about checking the database and figuring out where to send the person that filled out the form?


EDITED...
Code: Select all
<%
Set connectionToDatabase=Server.CreateObject("ADODB.Connection")
connectionToDatabase.ConnectionTimeout=60
connectionToDatabase.Open "DSN=Mydatabase"

Set recordSet =Server.CreateObject("ADODB.Recordset")
recordSet.Open "SELECT USER FROM List Where USER='" & session("username") & "'",connectionToDatabase, 3,3

connectionToDatabase.Close
Set connectionToDatabase=Nothing
%>
ok, I can log onto the User's username in the database, that works great... problem is I don't know how to verify the password they typed in and then redirect them. I have been trying and trying but no luck so far.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old Apr 9th, 2004, 15:26
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
SELECT the user on both the username and password, then check to see if you get any records back (if rs.bof and rs.eof then...).

Response.redirect "url" is the normal way to redirect. But check out my original post to your question about this and the use of cookies, etc http://www.webforumz.com/topic.asp?TOPIC_ID=871
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
help, login, form

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hiding / Showing form fields based on previous form input John Alexander Hopper PHP Forum 1 Mar 10th, 2008 11:30
form variable within an iframe component of a form kissfreaque PHP Forum 3 Feb 29th, 2008 13:06
form variable within an iframe component of a form kissfreaque JavaScript Forum 5 Feb 29th, 2008 11:57
[SOLVED] PHP contact form redirect to same form Posie PHP Forum 14 Jan 29th, 2008 20:28
ASP form to check weather a form value is already in the database Andrew1986 Classic ASP 3 Oct 25th, 2007 08:23


All times are GMT. The time now is 11:52.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42