Solved

How do i maintain the session in mvc 2.0 application?

Posted on 2011-03-07
8
719 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
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.
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

707 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

14 Experts available now in Live!

Get 1:1 Help Now