• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 386
  • Last Modified:

Share session between webservice and a web app

Hi Everyone,
I have an ASP.NET webapplication and a webserive in the same webproject. How can i get the values that are in session for a given user who is browing the site.

For example i have ten items in session from user that i want to make accessible in the webserive if user of the same session calls webservice from the client side using Javaacript.
1 Solution
Om PrakashCommented:
Please check the following tutorials:

Using ASP.NET Session State in a Web Service

Using AJAX:
Exposing Web Services to Client Script in ASP.NET AJAX
hussainAbidAuthor Commented:
Thanks Prakash, Great articles indeed. I will just be reading them through before locking the question as I might be needing some answers.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now