?
Solved

Perform transactions using web service in .NET

Posted on 2005-03-10
1
Medium Priority
?
157 Views
Last Modified: 2010-04-16
Hi Experts,

I am using a web service that accepts files from registered users running in .NET.  

Client application calls a web method that validates the user.  Upon successful validation, the application then sends the file over (probably through another web method calls).  I need to link the file to the validated user.  But due to the “stateless” nature of web connection, the session of the first web call (validation) will cease when the web method returns.  

Is there a way to maintain a persistence connection when performing these 2 tasks?  
Any other solutions to this problem will be appreciated.  

Thanks!

0
Comment
Question by:pcssecure
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 18

Accepted Solution

by:
testn earned 1000 total points
ID: 13513638
transactions cannot be performed in .net 1.0 web services. however, you can use cookie to maintain state somewhat in the application.....
check this example...
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconstatemanagementinaspnetwebservices.asp

but actually i would modify webservices suck that the second call recieves a parameter returned from the first call....
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

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

752 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