Check User

This is a discussion on "Check User" within the Classic ASP section. This forum, and the thread "Check User are both part of the Program Your Website category.



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

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 23rd, 2004, 21:02
Up'n'Coming Member
Join Date: Jul 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Amari
Check User

Is there a way for my website to check the users account after loggin to direct him to a certain page?? If so could you give me the script to do so??

  #2 (permalink)  
Old Nov 25th, 2004, 08:03
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
amari.... you must already be storing some info in a database in order to validate the user... just make an extra field which holds the name of the page to redirect to. Thats one of many ways.
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
  #3 (permalink)  
Old Nov 27th, 2004, 07:45
Up'n'Coming Member
Join Date: Jul 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Amari
Is there a way that I can send the user to a page and from that page they can be redirected to their right page based on there account type?
  #4 (permalink)  
Old Dec 9th, 2004, 01:36
Up'n'Coming Member
Join Date: Jul 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Amari
Is anyone going to reply????????:
  #5 (permalink)  
Old Dec 9th, 2004, 12:07
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
If UserType = 1 Then
Response.Redirect "somepage.asp"
End If
  #6 (permalink)  
Old Dec 10th, 2004, 04:37
Up'n'Coming Member
Join Date: Jul 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Amari
So where do I put this code at???
  #7 (permalink)  
Old Dec 10th, 2004, 07:36
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Amari, without details of your database there is very little we can do to help you.
  #8 (permalink)  
Old Dec 10th, 2004, 22:26
Junior Member
Join Date: Oct 2004
Location: USA
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to da_stimulator Send a message via AIM to da_stimulator Send a message via Yahoo to da_stimulator
if argument = value then
response.redirect("wherever.asp")
elseif otherargument = differentvalue then
response.redirect("whereverelse.asp")
end if

OR

Select Case argument
Case value1
response.redirect("blah1.asp")
Case value2
response.redirect("blah2.asp")
Case else
response.redirect("errorpage.asp")
End Select

Check out devguru.com
  #9 (permalink)  
Old Dec 12th, 2004, 19:42
Up'n'Coming Member
Join Date: Jul 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Amari
where do I put the above code?
  #10 (permalink)  
Old Dec 12th, 2004, 19:44
Up'n'Coming Member
Join Date: Jul 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Amari
My database is based on the users account. Like free users have a level 1 account and I want them to login and be sent to the level 1 pages and for lvl 2 to go to the level 2 pages how can I do that?
  #11 (permalink)  
Old Dec 20th, 2004, 02:29
Up'n'Coming Member
Join Date: Jul 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Amari
Ok I fixed that problem nvm!
Closed Thread

Tags
check, user

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
simple check if user exists mlecho PHP Forum 3 Aug 28th, 2007 15:48
Check my tutorial please alexgeek PHP Forum 6 Aug 10th, 2007 18:27
call check if user function exist csun PHP Forum 2 Jul 17th, 2007 06:14
Check if user has clicked an adwords ad. Kimochi JavaScript Forum 4 Mar 4th, 2007 16:31
Hello, check this ;) Anonymous User Introduce Yourself 1 Feb 12th, 2004 19:10


All times are GMT. The time now is 15:59.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs 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 43