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 2 1430
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 this regular cookie? How about session cookie? and when to use which?
|
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. We are
unable to retreive this large amount of data immediately after storing
through document.cookie in IE browser (The same works fine in
Netscape).
Is there any limit on the size of the data that can be retreived using
document.cookie in IE...
|
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 values. But if I redirect to another page and read the cookie only 18 of
the values remain.
Even though I load the same 25 barcodes at login, the 18 that remain can
differ each time.
|
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 after 6 to 7 hours, the cookie get 2-4 new asp-sessionid's thus
overwriting the very first entries in the cookie. Does anyone had the same
problem or has a solution. The server is a w2003 enterprise the client has
windows xp sp2.
|
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 in a cookie and a
small bullit shown in front of the hyperlink,
so when I reload the page I can immediately see which hyperlinks I already
visited that day.
| |
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 exhausted all my other
options, so I have to get this scenario working). Basically, if I POST the
data normally, it works fine, except the target page has a new session ID,
so I lost the session data that I *do* transfer around. However, if I...
|
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", "clearTextValue" );
Response.Cookies.Add( cookie );
and ...
|
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. I've been testing my code and for
some reason, the cookie expires randomly before even 24 hrs has passed.
Yesterday it expired after 11hrs and 20mins.
Any idea why my cookie expiration isn't working?
|
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 create one. The below code doesnt add
the cookie to my cache. However if I place this in an non asmx page its fine
Any help you offer is apperiated
public string CreateToken(string User, string App, string County)
{
|
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
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |