Home | Advertising Info273 USERS CURRENTLY ONLINE   
   Site Search Contact Us Saturday, February 24, 2018  

User Management Application with web based screens that allow you to manage users.
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.


We didn't realize
the site was so popular.

Other Stuff

Active Server Pages ASP control controls class classes module script Scripts applet CJWSoft ASPProtect ASPBanner ASPClassifieds

(Advanced)  (Components)  (Database)  (General)  (Vbscript)


Subject: When does "Super" <> "Super"
From: Anchorman
Date: 6/7/2001 10:36:58 AM


I have a problem that I can't seem to figure out. I am writing information to a Cookie that is later read back, then I do a comparison with it to determine which options will be available to the user. Here is my code:

Dim cUserType
cUserType = Request.Cookies("UserInfo")("UserType")
if (cUserType = "Super") then
Response.Write "<b>You're In! :-)</b>"
Response.Write "<b>You ain't In! :-(</b>"
end if

It NEVER gets in ("You're In"). I have written little sections of code to print out the value of cUserType, and it prints "Super " (Notice the space at the end??) But, even if I compare the value to "Super " (with the space), it STILL never gets in. What am I doing wrong here?

Follow Up - Re: When does - J. Paul Schmidt 6/7/2001 10:30:00 PM


   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2018 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages ASP programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com