Solved

How do i maintain the session in mvc 2.0 application?

Posted on 2011-03-07
8
729 Views
Last Modified: 2013-11-19
How do i maintain the session in mvc 2.0 application?
0
Comment
Question by:nicemanish
8 Comments
 
LVL 108

Expert Comment

by:Ray Paseur
ID: 35116513
What programming language are you using?  
0
 
LVL 12

Expert Comment

by:jmcmunn
ID: 35117235

What exactly do you mean "How do I maintain the session"?  What are you trying to do, and what is not working?  Do you understand the basic ideas behind session for web projects in general?

Are you new to MVC or new to web programming in general?
0
 

Author Comment

by:nicemanish
ID: 35135281
i know to maintain the session as asp.net but i am using new frame work that is mvc framework
for that aspect i want to know maintain  the session.is any one did maintaing session in mVC framework?
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 12

Expert Comment

by:jmcmunn
ID: 35137178

Are you talking about somehow persisting a session and storing it for later?  Perhaps you could take advantage of a workflow if that is the case.

http://msdn.microsoft.com/en-us/netframework/aa663328

As for regular session, it is no different in MVC as far as I know.

http://stackoverflow.com/questions/915470/asp-net-mvc-session-vs-global-vs-cache
0
 
LVL 10

Expert Comment

by:pramodsk40
ID: 35167405
make sure tot enable <sessionState mode="Off" /> to on web.config and use the same way as asp.net session.
0
 
LVL 10

Accepted Solution

by:
pramodsk40 earned 250 total points
ID: 35167429
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now