how can i pass the new created id to next page. lets say, i have 2 pages: page1.asp and page2.asp after submitting the first page that is page1.asp, it will go to second page with new created id as parameter.
Take a look at the CCSExamplePack in CCS. The registration example shows you how to do that. Basically find the last entry (e.g. MAX(id)) and store it in the session. Take a look ath the example. It's pretty straight forward.
Mutsch
Topic
how to auto pass new created id to next page
Author
Tom
Date Created
9/20/2003 7:55:49 AM
Message
Watch out on using max id as it is can be very dangerous if you have more than one person using the site. Concurrency issues abound. Check out the tips/articles as many are written about getting these 'Auto-Increment' or 'Primary Key Values'.