Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friends !

I want to make an web application using MVC Framework where my basic requirement is to authenticate user and allow him to access only allowed pages.

When a user login successfully, a JSON object is to be created having USERNAME, TOKEN, PERMISSION LIST, CREATEDATE and same will be stored in DB. And this will be accessed on every HTTP request to verify valid user session. I dont want to store JSON information into COOKIES. I dont want to pass JSON on every postback. I only want to store the information in such of way that i can fetch it on every request.

Kindly suggest available ways to solve this problem.


Thank you very much !

Chandrakant Kumawat
Posted
Comments
Jameel VM 20-Mar-13 1:36am    
why u r not trying to store these information in session?
Chandrakant Kumawat 20-Mar-13 3:27am    
Actually if store session that it is stores in client side cookies, and dont want to be dependent on client..

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