Home | Advertising Info124 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


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



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds



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




ASPProtect

 
Subject: Cookies
From: Charles
Date: 5/4/2000 10:35:07 AM
IP: 209.179.82.2



 

I am trying to check if a cookie exists then redirect a user depending on if it exists or not. I am able to do this with cookies that I wite but unable to with a cookie created by my MIVA shopping cart. The cookie contains 32 characters made up of numbers and letters.

My code looks like this:

<%
Dim varID
varID = Request.Cookies("htscallerid")
if (varID = "") then
Response.Redirect ("http://www.fex.com")
else
Response.Redirect ("http://www.fexmall.com")
end if
%>

The problem is that the cookie appears to be blank. In this case the browser will be redirected to fex.com. If I try to write the cookies contents, I get a blank screen. The cookie is not blank however.

Thanks in advance for your help!

Charles


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 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 ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET 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