473,507 Members | 5,257 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cookie - get data

Hi,

I have found a few scripts that write user preference to a cookie.

I still cannot access the cookie to get user preferences.
Also to 'hide' the input form once a user has selected them.

If anyone could help, would appreciate it.
I have spent 4 days and have not cracked it.

Thanks

Clive

Jul 23 '05 #1
2 1423
Clive Swan wrote:
I have found a few scripts that write user preference to a cookie.
But it does not appear as if you have understood them or even tried to
do so.
I still cannot access the cookie to get user preferences.
You can at the most access cookies you set yourself, i.e. that were set
by a script contained in a document of the same second-level domain.
Also to 'hide' the input form once a user has selected them.
Pardon? Should the users not see what they selected?
If anyone could help, would appreciate it.
I have spent 4 days and have not cracked it.


This is as bad as error description as any. What have you tried?
What exactly did not work?
PointedEars
Jul 23 '05 #2
Hi Thomas,

I cannot make sense of cookies.

I can use cookies to store the user input.

I would like the user to login + choose screen colour, etc.
The second login, I would like to use the cookie to give a greeting,
use the screen colour. I do not want them promted each time.

I cannot see how you use the cookie script to 'extract' the user
choice, the second, third time, etc.

Thanks

Clive

Thomas 'PointedEars' Lahn wrote:
Clive Swan wrote:
I have found a few scripts that write user preference to a cookie.


But it does not appear as if you have understood them or even tried to
do so.
I still cannot access the cookie to get user preferences.


You can at the most access cookies you set yourself, i.e. that were set
by a script contained in a document of the same second-level domain.
Also to 'hide' the input form once a user has selected them.


Pardon? Should the users not see what they selected?
If anyone could help, would appreciate it.
I have spent 4 days and have not cracked it.


This is as bad as error description as any. What have you tried?
What exactly did not work?
PointedEars


Jul 23 '05 #3

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

Similar topics

1
2931
by: Matt | last post by:
I want to know what's the differences between session cookie and regular cookie. In ASP, when we create cookie, we do the following to identify an user: Response.Cookies("name") = value Is...
1
5134
by: Vikram Bhatia | last post by:
In my web application we are able to store large data in the browser cookie keeping in mind the limit of 300 cookies per cookie file, 20 keys per cookie per domain and 4KB max size of each cookie....
4
1641
by: Wally | last post by:
I have a record set (rs) that contains 25 barcodes values that I set to true in a cookie. (see code section below) If I read the cookie from within the same page that created it, I see all 25...
7
2135
by: Christoph Pieper | last post by:
Hi, we've the following problem : We have an asp-application which sets the cookie on first login. The cookie will never be touched during user access. The user can work the whole day, but...
9
4465
by: Marco Krechting | last post by:
Hi All, I have a page with a list of hyperlinks. I want to save information in a cookie about the fact that I entered an hyperlink or not. When I click one of the hyperlinks I want this stored...
2
4799
by: Keith Patrick | last post by:
I'm trying to programmatically post data to another page within my ASP.Net app. Not POSTing is not an option (I can't store this data in my session, context, hidden fields, or anything else...I've...
0
1187
by: Chris Newby | last post by:
I'm looking for a way to transparently encrypt cookie data using Asp.Net 1.1. Ideally, developers could still do things like: HttpCookie cookie = new HttpCookie( "clearTextKey",...
5
2209
by: SJ | last post by:
Hi, In my website, i have a cookie that allows the user to remain logged in for upto 90days. So I'm setting the cookie expiration time to 90 days in the future from the time the user logs in....
7
1971
by: =?Utf-8?B?SlA=?= | last post by:
I need to design a WS that will after authenicating the user, create a cookie on the users PC that made the request. All the code I keep finding is how to get a WS to read a cookie, I need it to...
5
1680
by: sophie_newbie | last post by:
Does anyone know how to do this? I can't seem to make it work. I'm using: c = Cookie.SimpleCookie() c = "unamepwordwhatever" c.expires = time.time() + 300 print c
0
7221
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
7109
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...
1
7029
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
7481
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
5619
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,...
1
5039
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
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...
0
3190
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
411
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.