-
Oct 29th, 2013, 05:24 AM
#1
Thread Starter
New Member
Session
What is the solution for the error "No session bound to the current http context in asp.net ?
-
Oct 29th, 2013, 05:31 AM
#2
Re: Session
Maybe someone else knows exactly what the issue is but, in case that's not the case, it might help if you were to provide a bit of background because many issues can have various causes. You might consider describing the circumstances under which this occurs and what code is being executed at the time.
-
Oct 29th, 2013, 05:45 AM
#3
Thread Starter
New Member
Re: Session
I am creating a website for user registration,login,edit,delete etc. I am trying to store the details during registration into the database, From the controller layer i am calling the methods in the service layer and the service layer calls the methods in other layers through their corresponding objects. The error is that session is not executing, Current Session is null.
-
Oct 30th, 2013, 04:28 PM
#4
Re: Session
Hello,
From the terminology that you are using, am I right in saying that you are using ASP.NET MVC, or are you using ASP.NET Web Forms?
Also, are you using your own code to store the information into the database, or are you using the built in functionality in ASP.NET, i.e. the Membership Provider?
Gary
-
Oct 31st, 2013, 05:11 AM
#5
Thread Starter
New Member
Re: Session
I am using MVC asp.net,I resolved the error,Thank you for your suggestion
-
Nov 4th, 2013, 02:22 AM
#6
Re: Session
Hello,
I have moved your thread to the correct forum.
For the benefit of the community, would it be possible for you to post the solution to your problem?
Also, can you mark your thread as resolved to indicate that you have found the solution to your problem? If you are not sure how to do that, there is a link in my signature that explains how.
Thanks
Gary
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|