[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How do i maintain the session in mvc 2.0 application?

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

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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 1000 total points
ID: 35167429
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses
Course of the Month18 days, 19 hours left to enroll

834 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