If you can't explain it simply,
you don't understand it well enough.
-Albert Einstein
 
Home   News   Tips   Glossary   Templates   Forums   Help   Logon   Order   Contact Us  
 

News      User Comments     History     Notify Me

8/20/2008 1:04:00 AM
Active Server Pages 104
By Richard Rost   Richard Rost on Facebook Richard Rost on Twitter Richard Rost on Google Plus Richard Rost on LinkedIn Email Richard Rost

 
ASP 104 covers Multiple Related Checkbox Values, The Request Object, Cookies, Session Variables, Application Variables

See the complete outline here: /site/courselist/asp/asp104/

Permanent Link
Course Link: Active Server Pages 104
Keywords: asp request cookies session application
Post Reply

Comment from Richard Rost @ 11/14/2008
Yep - just use a Session variable like I cover in this class. Just set a session variable when the user logs on (which I cover in a later class) then check it in your header.asp. You might find it easier to just have ONE header.asp file and use the session variable in it to display different information based on whether or not that user is logged on. I cover most of this in ASP 303.
Show Just This Thread        Post Reply
Comment from  Roberta @ 11/12/2008
I figured out the header problem. Here is what I did.
<%
if Session("Username")<>"" then %>


<% else %>


<% end if %>
I put this in the file called header.asp.

It seems to work but if you see a problem with this, please let me know.

Thanks

Show Just This Thread        Post Reply
Comment from  Roberta @ 11/12/2008
Questions! Questions! Here is another one. I have two different header.asp, one for general public, one for members. On each of my pages I have include header.asp. When a member logs in, I want the header to change to the member header and remain in place for the entire time they are logged in. When they log out, it changes back to the general header. My line of thinking is that it has something to do with Sessions.
Show Just This Thread        Post Reply

Add Your Comments or Subscribe
 
If you just want to subscribe to get email updates when the News is updated, then enter your name and email address and check the Notify Me box below. If you would optionally like to add your comments below to be posted, they are welcome.
 
  Your Name:  Required
  Your Email:  NOT Public
  Subject:
  Comments:

 

Sorry about this step. It's just to keep the spam bots away:
  Verify: What is 4+8:
  
  Notify me when the News is updated.
  Remember Me for my next comments
  
 
 
Please do not use this form for Customer Service inquiries! If you have questions about your account, shipping info, courses you've ordered, need passwords, etc. please use the Customer Service Center instead.

I value your comments. They will be displayed on this page (above). Your name will be displayed, but your email address will not be.
As always, I promise to never give away your personal information to anyone else, ever.

NOTE: If you don't leave your name and email address, DON'T expect a reply. I can't promise a personal reply to everyone who posts here. I TRY my best, but I cannot guarantee it. If you don't leave your real name and email address, I won't even bother. I usually just hit DELETE. -Richard

 

 
 

Learn
 
Accessindex
Excelindex
Wordindex
Windowsindex
PowerPointindex
Photoshopindex
Visual Basicindex
ASPindex
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
Lost Password
Free Upgrades
Insider Circle
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Articles
Search Our Site
Waiting List
Production Schedule
Collapse Menus
Help
 
Live Chat
Customer Support
WalkThru Tutorials
Troubleshooting
FAQs
TechHelp
Consulting Services
About Us
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
MYOLP Memberships
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Gift CDs
Contact
 
Live Chat
General Info
Support Policy
Contact Form
Email Us
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

Google Plus    LinkedIn

Blog RSS Feed    YouTube Channel
Richard Rost Microsoft MVP