theorix
|
Posted: 09/15/2003, 10:54 PM |
|
hello guys,
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.
help me
|
|
|
Mutsch
|
Posted: 09/16/2003, 11:04 AM |
|
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
|
|
|
Tom
|
Posted: 09/20/2003, 7:55 AM |
|
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'.
|
|
|
|