Click here to Skip to main content
15,912,977 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have Created one table name is " Rx_Register". And i have 2 pages are "PREPARATION" and "FREEZE". In PREPARATION page only single field i wants to insert. so i made a simple insertion to add single field, In a FREEZE stage i wants to add freeze data and remaining PREPARATION data combined to a Rx_Register...
i have used the sessions to post the data to FREEZE page.. if other user logged in session will destroyed .
what are the steps required to do that..
piz send answer any one..
Thank You..
Posted

1 solution

It will be like this:
Use1 Enters
1.Generate Session at login
2.When User enter data one Page One: save it in temporary data table and store that data table in the session like Session["datatableA"].
3.Now, on page 2 you can retrieve the saved datatable from session.

Now If other user log in the on login, destroy all previous session by Session.Abondon() and add new Session. So you datatable value will be abandoned.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900