| | |
How to maintain session for Web Services Object?
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jun 2004
Posts: 2
Reputation:
Solved Threads: 0
undefined
Hello,
I am using a webservice which has many objects and methods. Before being able to access any method, a method called authenticateuser is needed to be executed.
Taking ws as the webservice object, and after successfully executing the ws.authenticateuser(successfull result is shown with the boolean return value set to True), the session of ws gets lost and I'm not able to access any other method or object.
Any ideas please?
Thanks,
Sam
Hello,
I am using a webservice which has many objects and methods. Before being able to access any method, a method called authenticateuser is needed to be executed.
Taking ws as the webservice object, and after successfully executing the ws.authenticateuser(successfull result is shown with the boolean return value set to True), the session of ws gets lost and I'm not able to access any other method or object.
Any ideas please?
Thanks,
Sam
•
•
Join Date: Jun 2004
Posts: 2
Reputation:
Solved Threads: 0
Hi,
Actually this is a windows application project developed in VB.NET, where the client application needs to retrieve a value stored in a web service object. The method to retrieve that object can't be executed unless the authenticateuser method is first successfully executed. The problem is that even if this happens, the webservice object looses the session and can't access any method.
Sam
Actually this is a windows application project developed in VB.NET, where the client application needs to retrieve a value stored in a web service object. The method to retrieve that object can't be executed unless the authenticateuser method is first successfully executed. The problem is that even if this happens, the webservice object looses the session and can't access any method.
Sam
The web service is an ASP.NET application, and thus has session. So, again, have you tried storing it? ;-).
The way most web services work (that require authentication), is by taking the login user and password in each method.
The way most web services work (that require authentication), is by taking the login user and password in each method.
-Ryan Hoffman
.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
![]() |
Similar Threads
- Asp and Web services (ASP)
- Urgent - Need (2) PHP Web Developers - Seattle, WA only (Web Development Job Offers)
- How to maintain Session (Java)
- Myhomehost.com | Online Web Services (Web Hosting Deals)
- Team Lead C#, ASP.NET, VB.NET, Web Services, SQL - Los Angeles, CA (Web Development Job Offers)
Other Threads in the VB.NET Forum
- Previous Thread: Controlling windows scroll
- Next Thread: VB.net - worthwhile to go for?
| Thread Tools | Search this Thread |
"crystal .net .net2005 30minutes 2005 2008 access account arithmetic array assignment basic binary bing box button buttons center check code component connectionstring convert cpu crystalreport data database databasesearch datagrid datagridview design dissertation dissertations dissertationthesis dosconsolevb.net dropdownlist editvb.net excel file-dialog firewall folder ftp hardcopy image images insert isnumericfuntioncall login math memory mobile ms mssqlbackend mysql navigate net networking opacity output passingparameters peertopeervideostreaming picturebox1 port printpreview problemwithinstallation project record reports" reuse save savedialog serial soap storedprocedure string tcp temp text textbox timer toolbox trim update updown useraccounts usercontrol vb vb.net vb.netcode vb.netformclosing()eventpictureboxmessagebox vb.nettoolboxvisualbasic2008sidebar vb2008 vbnet view visual visualbasic visualbasic.net visualstudio web wpf






