Click here to Skip to main content
15,896,453 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,
I want to store session values in my MSSQL server.
Posted
Comments
[no name] 30-Aug-13 5:21am    
Okay so go right ahead and do that. You have permission to proceed.
Nelek 30-Aug-13 5:37am    
I strongly recommend you to read:
How to ask a question[^] and What have you tried?[^]

C#
string value=Session("userid").toString();
                storeindatabase(value); // a simple  method which interact with database to insert a value.
 
Share this answer
 
v2
Comments
NagaRaju Pesarlanka 30-Aug-13 5:46am    
which table session is stored in database.
[no name] 30-Aug-13 5:52am    
you can insert it in any table where you want to store your session value.

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