Home | Advertising Info190 USERS CURRENTLY ONLINE   
   Site Search Contact Us Wednesday, April 26, 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

Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds

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


Subject: Linking Cookies with databases
From: Ian
Date: 2/21/2000 8:06:13 AM


I want to use a cookie that will display the users ID (a number) or create a new ID for them if they are a new user. If they are new, a new ID will be created in the field CustomerID in the Table Customers. (This table will also have a field ID that has an autonumber). This will then display their new or current ID.

I have so far written the following code that actually displays the users current ID:

Response.Cookies("MYCOOKIE").Expires = DATE + 356
If Request.Cookies("MYCOOKIE")("userid")<> "" Then

From Else Im not sure what code may come up next. I have thought of using a SessionID, a SELECT and an INSERT.

Please could someone help me with this problem

Thankyou for your time...




   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 what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa 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