Hidden Layers

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I want to be able to set up hidden layers which only become visible on a page that already contains data, if the user is logged on to the website as a member. I've download a free applet that lets me creates a user login system, and passes the login information to each new page that is opened.
The script is as follows: -

'Get the users name passed from the previous page
strUserName = Session("userName")

userID = Session("userID")
userAdmin = Session("userAdmin")

Session("userID") = userID
%>

Is it possibel to do this using layers or is there another way I can achive the same result.
 
Hi Rakesh,
I don't think layers are your answer here - asp allows you to display
different content dependent on the value of a variable, eg
<%if session("userid") <> "" then%>
<p>you are logged in</p>
<%else%>
<p>you are not logged in</p>
<%end if%>

Does this get you started ?


--
Cheers,
Jon
Microsoft MVP - FP

Rakesh Gupta said:
Hi,

I want to be able to set up hidden layers which only become visible on a
page that already contains data, if the user is logged on to the website as
a member. I've download a free applet that lets me creates a user login
system, and passes the login information to each new page that is opened.
The script is as follows: -

'Get the users name passed from the previous page
strUserName = Session("userName")

userID = Session("userID")
userAdmin = Session("userAdmin")

Session("userID") = userID
%>

Is it possibel to do this using layers or is there another way I can
achive the same result.
 
Back
Top