Home | Advertising Info70 USERS CURRENTLY ONLINE   
   Site Search Contact Us Saturday, April 29, 2017  

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.

Try a free httpZip trial now and compress for less!

We didn't realize
the site was so popular.

Other Stuff

PowerASP active server pages asp.net microsoft .net framework sdk learn asp what is asp tutorial learn asp.net 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 - 2017 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 a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. 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