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.
|
|
|
|
|
![]() |
||
Check User
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
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
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#3
|
|||
|
|||
|
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
|
|||
|
|||
|
Is anyone going to reply??????
|
|
#5
|
|||
|
|||
|
If UserType = 1 Then
Response.Redirect "somepage.asp" End If |
|
#6
|
|||
|
|||
|
So where do I put this code at???
|
|
#7
|
|||
|
|||
|
Amari, without details of your database there is very little we can do to help you.
|
|
#8
|
|||
|
|||
|
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
|
|||
|
|||
|
where do I put the above code?
|
|
#10
|
|||
|
|||
|
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
|
|||
|
|||
|
Ok I fixed that problem nvm!
|
![]() |
| Tags |
| check, user |
| Thread Tools | |
|
|
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 |