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.


 Subscribe in a reader

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

Notices




Closed Thread
 
LinkBack Thread Tools
  #1  
Old Nov 23rd, 2004, 21:02
Up'n'Coming Member
Join Date: Jul 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
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??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Nov 25th, 2004, 08:03
Rob's Avatar
Rob Rob is offline
Webforumz Founder
Join Date: Jul 2003
Location: Southern UK
Age: 34
Posts: 3,186
Blog Entries: 7
Thanks: 27
Thanked 23 Times in 20 Posts
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.
__________________
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!
  #3  
Old Nov 27th, 2004, 07:45
Up'n'Coming Member
Join Date: Jul 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old Dec 9th, 2004, 01:36
Up'n'Coming Member
Join Date: Jul 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Is anyone going to reply????????:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old Dec 10th, 2004, 04:37
Up'n'Coming Member
Join Date: Jul 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
So where do I put this code at???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #8  
Old Dec 10th, 2004, 22:26
Junior Member
Join Date: Oct 2004
Location: USA
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #9  
Old Dec 12th, 2004, 19:42
Up'n'Coming Member
Join Date: Jul 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
where do I put the above code?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #10  
Old Dec 12th, 2004, 19:44
Up'n'Coming Member
Join Date: Jul 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #11  
Old Dec 20th, 2004, 02:29
Up'n'Coming Member
Join Date: Jul 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Ok I fixed that problem nvm!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
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


All times are GMT. The time now is 03:18.


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