Solved

How do i maintain the session in mvc 2.0 application?

Posted on 2011-03-07
8
736 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 109

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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

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.
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

777 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