473,385 Members | 1,582 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,385 software developers and data experts.

I need a cookie to be sent by e-mail

I need a cookie to be sent by e-mail. So that by opening such a mail a
cookie would be stored in appropriated place by client. Then the subsequent
requests from this client to corresponding web-resource would use this
cookie. How such an e-mail should be composed?
Best regards,
Igor.
Jan 4 '06 #1
3 986
Isn't it more simpler to provide Url with parameters in the e-mail? And then
when client will make the request and web-resource will check for request
parameters.

Cookies are transferred in the http header, and e-mail can only contain http
body. In order to store cookies you'll have to perform request on the
appropriate web-resource

--
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com

"Igor Thernov" <iv**@izba.ru> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
I need a cookie to be sent by e-mail. So that by opening such a mail a
cookie would be stored in appropriated place by client. Then the subsequent
requests from this client to corresponding web-resource would use this
cookie. How such an e-mail should be composed?
Best regards,
Igor.

Jan 4 '06 #2
I know that sometimes I'll open up email in Outlook or in a web client
and it will try to save a cookie just by me viewing the email. I know
because I have privacy protection turned on for all cookies.

Could it depend on the client being used to read the email that
determines if a cookie can be saved or not?

*** Sent via Developersdex http://www.developersdex.com ***
Jan 4 '06 #3
On Wed, 4 Jan 2006 13:25:03 +0200, "Vadym Stetsyak" <va*****@ukr.net>
wrote:
Isn't it more simpler to provide Url with parameters in the e-mail? And then
when client will make the request and web-resource will check for request
parameters.

Cookies are transferred in the http header, and e-mail can only contain http
body. In order to store cookies you'll have to perform request on the
appropriate web-resource


He doesn't want the person opening the email to know they got a
cookie...
Otis Mukinfus
http://www.otismukinfus.com
http://www.tomchilders.com
Jan 5 '06 #4

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

Similar topics

16
by: Jochen Daum | last post by:
Hi! I have a function in a lot of pages, which redirects to a new page, if a form has been submitted: if (!(defined("DEBUG_INSERT") && DEBUG_INSERT) && !(defined("DEBUG_UPDATE") &&...
3
by: Stijn Goris | last post by:
hi all, Trying to get those cookies to work but they wont... Doing this. Have a page login.php wich tests the user and pass. If they are correct a cookie is set with one variable like this:...
2
by: Michael | last post by:
I am reading and setting a cookie using JavaScript in the BODY onload and onunload events respectively. This works fine. However when I use ASP to set the cookie under some condition where I...
2
by: BH | last post by:
I developed a small web app using the FormsAuthentication class to set a cookie (FormsAuthentication.SetAuthCookie(value, isPersist)). The cookie persists fine on my local PC when "isPersist" is...
3
by: Mike | last post by:
I have a web application that the forms authentication cookie is not expiring correctly. When I look at the trace information of a newly requested page after the session and forms authentication have...
9
by: Mike Reed | last post by:
I must be having a "senile" day! I cannot recall, nor get to work, code to read a cookie's expiration date/time in an ASP page/VBScript. What am I missing? *** Sent via Developersdex...
2
by: HopfZ | last post by:
Server sends cookie to browser and the browser send the same cookie back to the server according to Wikipedia. Do browsers send even javascript-generated cookie to servers? For example, if I...
6
by: Alessandro Fachin | last post by:
Hi, i am trying to forge a new cookie by own with cookielib. But i don't still have success. This a simply code: import cookielib, urllib, urllib2 login = 'Ia am a cookie!' cookiejar =...
29
by: Jerim79 | last post by:
I did try to find the answer to this before posting, so this isn't a knee jerk reaction. What I am trying to accomplish is to have a script that opens a cookie, reads a value, and then use a...
2
by: ofiras | last post by:
Hii everyone, I've been programming in php for a long time, and the cookies have always been a trouble for me. When I have headers before the cookies set, I get a problem. Even if I leave space...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.