Ray
|
| Posted: 04/15/2002, 8:30 AM |
|
Hi!!! I'm new to this CC and I'm trying to do something but it always failed. I'm changing the search form from the portal to a login form. How can I make a routine that when the user login is valid I show the same portal page but wihout the login form on it???
Cheers
Ray
|
|
|
 |
Nicole
|
| Posted: 04/16/2002, 2:43 AM |
|
Ray,
just hide login form for logged in user. Read the article and find sample "hide form" code: http://www.gotocode.com/art.asp?art_id=54&
|
|
|
 |
Ray
|
| Posted: 04/16/2002, 5:55 AM |
|
Hi Nicole!!!
Thanks for the tip but I tried to do it but I couldn't find the variable to use in order to make the hidden action (if condition). I tried some of the variables but without any success, The login still there. Anyone have an idea or did this ...
Cheers
Ray
|
|
|
 |
Nicole
|
| Posted: 04/16/2002, 6:23 AM |
|
Ray,
check the value of session variable UserID (it is created when user logged in). If it is nit empty it means that use has logged in
|
|
|
 |
Ray
|
| Posted: 04/16/2002, 6:39 AM |
|
Thanks Nicole ...
Cheers
Ray
|
|
|
 |