473,385 Members | 1,400 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 985
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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?

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.