Hidden Layers

R

Rakesh Gupta

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.
 
J

Jon Spivey

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top