473,409 Members | 2,056 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,409 software developers and data experts.

problem in session state cookies

hi,

i have gone through this link
http://msdn.microsoft.com/library/de...thirdparty.asp..

i want to know, how to use this below code in ASP.NET.
<thirdParty noPolicyDefault="accept" noRuleDefault="accept"
alwaysAllowSession="yes"/>only, because of the cookie was not residing
physically on hard disk.Thankx ,Raghavendra tilve

Nov 18 '05 #1
4 1508
Hi Brian,

Thank you for posting in Microsoft Newsgroup. Regarding on the issue, I am
finding proper resource to assist you and we will update as soon as
posible.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Nov 18 '05 #2
Hello,

Based on my understanding, now the question is: How to use thirdParty XML
Element in ASP.NET? Please post here if I have misunderstood the quesiton.

thirdparty element is one of XML Elements for Custom Privacy Import Files.
A Custom Privacy Import Files is used in browser side. That is to say, web
clients make use of this file. They import this file into IE 6 to
customized privacy setting.

ASP.NET is used in server side programming. I don't think these elements
are valid in server side. By using asp.net in server side, what we send is
compact policies.

In Internet privacy, compact policies are sent on server side to describe
the data categories, purposes of data collection, and recipients of the
data collected. Compact policies are sent by server using a custom HTTP
response header using the syntax shown in the following example.

P3P: CP="CAO PSA CONi OTR OUR DEM ONL"

This header can be added to an HTTP response using Active Server Pages
(ASP), ASP.NET or through the computer management console on Microsoft
Windows 2000 server and other popular Web servers. It is important to note
that cookie compact policies are sent from the server along with the cookie
data on HTTP responses, while decisions and settings regarding cookies are
made on the client (Internet Explorer 6).

Does that answer your question?

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 18 '05 #3
Hi Huang,

Actually, my question was

As, per the browser settings a user can session cookie.

How to programmatically enable this option.

i.e in browser... Tools... internet options .. privacy tab ... advanced
... ... override automatic cookie handling ... always allow session cookies.
************************************************** **************************
******************
Earlier i asked is ...................
http://msdn.microsoft.com/library/de...thirdparty.asp..

i want to know, how to use this below code in ASP.NET.
<thirdParty noPolicyDefault="accept" noRuleDefault="accept"
alwaysAllowSession="yes"/>only, because of the cookie was not residing
physically on hard disk.

************************************************** **************************
************

In this link they have mentioned this code or tag .....
But, i don't to use this....

Thankx ,
Raghavendra tilve...

"Yan-Hong Huang[MSFT]" <yh*****@online.microsoft.com> wrote in message
news:4K**************@cpmsftngxa07.phx.gbl...
Hello,

Based on my understanding, now the question is: How to use thirdParty XML Element in ASP.NET? Please post here if I have misunderstood the quesiton.
thirdparty element is one of XML Elements for Custom Privacy Import Files. A Custom Privacy Import Files is used in browser side. That is to say, web clients make use of this file. They import this file into IE 6 to
customized privacy setting.

ASP.NET is used in server side programming. I don't think these elements
are valid in server side. By using asp.net in server side, what we send is compact policies.

In Internet privacy, compact policies are sent on server side to describe the data categories, purposes of data collection, and recipients of the
data collected. Compact policies are sent by server using a custom HTTP
response header using the syntax shown in the following example.

P3P: CP="CAO PSA CONi OTR OUR DEM ONL"

This header can be added to an HTTP response using Active Server Pages
(ASP), ASP.NET or through the computer management console on Microsoft
Windows 2000 server and other popular Web servers. It is important to note that cookie compact policies are sent from the server along with the cookie data on HTTP responses, while decisions and settings regarding cookies are made on the client (Internet Explorer 6).

Does that answer your question?

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 18 '05 #4
Hello Tilve,

Thanks for the quick response.

I think in order to set it in client side, we may need two steps:

1) Create a Customized Privacy Import File by ourselves. Please refer to
MSDN article "How to Create a Customized Privacy Import File" on this
topic. The web link is
http://msdn.microsoft.com/workshop/s...rivacyimportxm
l.asp#mediumexample. It contains some sample XML files.

The thirdparty element is defined in this file.

2) Improt the pivary file into the system. Please refer to API
ImportPrivacySettings to get more information on it.

I don't think it is related to ASP.NET since they are all settings in
client side.

Thanks again and Merry Christmas! :)

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 18 '05 #5

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

Similar topics

8
by: ndsoumah | last post by:
hello guys I'm trying to get access to variables I put in a session variable from another page and it fails... here's the exact situation main file page1.php
3
by: Microsoft | last post by:
I am using Session variables in my ASP application. I have tested the application on a Win2k professional and it works fine. When the same web app is installed on a win2k advanced server from the...
3
by: Richard P | last post by:
I am experiencing some browser weirdness. My app uses session state to hide values I prefer to keep out of the querystring. I am testing to see what happens when cookies are fully disabled in IE...
1
by: Tim Meagher | last post by:
I am trying to use Forms Authentication for a web page with cookies and a session state. I'm getting a little confused about how to use both and how the timeouts work. My goal is to have a web...
1
by: Bruce W.1 | last post by:
BACKGROUND My ASP.NET app has been running (or rather available) on a server for about 4 months now. The server is at http://www.webhost4life.com/ They don't add cookies to any of the sites...
1
by: Steve Remer | last post by:
My application (relevant code snippets below) originally used Session variables in order to maintain state from page to page. After being unable to solve the mystery of why those variables were...
9
by: RA | last post by:
Hi Please review and let me know if I am correct: 1) My understanding from reading http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/ diforwc-ch05.asp is that...
4
by: Oscar Onorato | last post by:
Hello colleagues: Somebody know that good alternatives I have, in addition to the cookies, to maintain the session state? Where an example of it can be seen? Thanks
0
by: Nabani Silva | last post by:
Hi, hope someone could help I need to share session state (and contents) through differente web applications. I'm trying to get it done by using StateServer session state, below I paste code...
11
by: Glenn | last post by:
Hi I've been experimenting with managing state using the Session object. I've created a simple WS with a couple of methods, one which sets a string value, another that retrieves it. Each...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.