473,395 Members | 1,937 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Cookies in web service.

Hi all,

I am developing one web service. I am not clear about some concept of
web servic.

I want to ask Do web service always support cookie-based session? or i
can have session without cookies?

And if i want to use custom cookies will those cookies get stores on
service side always?
Means i am not very much clear about state management using cookies.
And if i want to destroy object stored in application object how will
i do this?

please correct me if i am wrong/
thanks in advance.

May 28 '07 #1
2 6021
Cookies have nothing to do with Web services. Web services are server to
server, not client to server. Cookies are a client based concept.
"archana" <tr**************@yahoo.comwrote in message
news:11**********************@g37g2000prf.googlegr oups.com...
Hi all,

I am developing one web service. I am not clear about some concept of
web servic.

I want to ask Do web service always support cookie-based session? or i
can have session without cookies?

And if i want to use custom cookies will those cookies get stores on
service side always?
Means i am not very much clear about state management using cookies.
And if i want to destroy object stored in application object how will
i do this?

please correct me if i am wrong/
thanks in advance.

May 28 '07 #2
On May 28, 1:35 am, "Scott M." <s...@nospam.nospamwrote:
Cookies have nothing to do with Web services. Web services are server to
server, not client to server. Cookies are a client based concept.

"archana" <trialproduct2...@yahoo.comwrote in message

news:11**********************@g37g2000prf.googlegr oups.com...
Hi all,
I am developing one web service. I am not clear about some concept of
web servic.
I want to ask Do web service always support cookie-based session? or i
can have session without cookies?
And if i want to use custom cookies will those cookies get stores on
service side always?
Means i am not very much clear about state management using cookies.
And if i want to destroy object stored in application object how will
i do this?
please correct me if i am wrong/
thanks in advance.- Hide quoted text -

- Show quoted text -
On the webservice side you can session enable the web method
"<WebMethod(EnableSession:=True)_" and access any session cookies
that the client has set. You can also set new cookies for the client
to access.

May 29 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

111
by: Retlak | last post by:
The recommended (on dozens of websites) and effective (works in Netscape, MSIE, Mozilla, probably others) way to detect if a browser has Javascript turned off is to put this in the <head>: ...
6
by: Luca | last post by:
I have to write a win application that call a web service that create two cookies. I've already written the web service, when i call it from a web browser it's all ok and the cookies are create,...
5
by: Mr Newbie | last post by:
I am having trouble writing cookies despite adding the cookie to the Response.Cookeies collection. The Request.Browser.Cookies returns TRUE so I know the browser is storing cookies and I can even...
3
by: Phillip N Rounds | last post by:
I'm having trouble with using cookies to monitor the stages of login. I have a two stage Registration page ( register.aspx ) and my target page ( MyPage.aspx ) I'm using a cookie named LoginStatus...
5
by: Jono | last post by:
Hi Everyone, Most tutorials I've seen address cookies from the server's perspective, assuming that the client (usually a browser like Internet Explorer) will manage the persistence. I am faced...
10
by: TahseenTarafdar | last post by:
Hi, I am updating a Java servlet to store cookies. The class inherits from HttpServlet and overrides the "service" method. Within this method I have the following code to test cookie storing and...
3
by: Jimmy | last post by:
I'm trying to find a website that does the following: 1. Signs you up to a second site under a different primary domain (i.e. as a result of a checkout or something). The username and password may...
3
by: Shashank | last post by:
Hi all, I am making a http request to a html page residing on a server through a desktop application . The page is actually an html page with some perl queries on the top. For this page I have...
2
by: dad107 | last post by:
Hi everyone. My web application wants to take advantage of an encrypted authentication cookie that's provided by another application on the same server. The cookie is visible on the client side,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.