Solved

How do i maintain the session in mvc 2.0 application?

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
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…

856 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