Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Request for setting a cookie . . .

 
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Next:  Google Adsense Online Focus Group  
Author Message
rlmcculley

External


Since: Sep 25, 2003
Posts: 4



(Msg. 1) Posted: Mon Sep 29, 2003 9:56 pm
Post subject: Request for setting a cookie . . .
Archived from groups: alt>www>webmaster (more info?)

Many of the sites that I go to today are setting cookies (or so my
McAfee Security Center tells me). What is the purpose of them setting
cookies #1?

And secondly, as a web site developer, how can I request to set cookies?

Richard

 >> Stay informed about: Request for setting a cookie . . . 
Back to top
Login to vote
sharif

External


Since: Jun 28, 2003
Posts: 55



(Msg. 2) Posted: Tue Sep 30, 2003 3:18 am
Post subject: Re: Request for setting a cookie . . . [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

While shouting G-UNIT, Richard L. McCulley wrote this:
 > Many of the sites that I go to today are setting cookies (or so my
 > McAfee Security Center tells me). What is the purpose of them setting
 > cookies #1?
 >
 > And secondly, as a web site developer, how can I request to set
 > cookies?
 >
 > Richard

Cookies mainly are used by websites to store data used throughout the site.
You want to set cookies? For what purpose? You can do it many ways: with
PHP - use the function setcookie().

--
Sharif Tanvir Karim
<a style='text-decoration: underline;' href="http://www.onlyonxbox.net" target="_blank">http://www.onlyonxbox.net</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Request for setting a cookie . . . 
Back to top
Login to vote
dorward

External


Since: Jun 27, 2003
Posts: 195



(Msg. 3) Posted: Tue Sep 30, 2003 1:09 pm
Post subject: Re: Request for setting a cookie . . . [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Richard L. McCulley wrote:

 > Many of the sites that I go to today are setting cookies (or so my
 > McAfee Security Center tells me). What is the purpose of them setting
 > cookies #1?

To store some site-specific information that persists across requests for
different pages.

 > And secondly, as a web site developer, how can I request to set cookies?

Usually with http headers. Most server side programming environments have
functions to handle them.

--
David Dorward <a style='text-decoration: underline;' href="http://dorward.me.uk/" target="_blank">http://dorward.me.uk/</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Request for setting a cookie . . . 
Back to top
Login to vote
usemyonlinefor

External


Since: Sep 20, 2003
Posts: 49



(Msg. 4) Posted: Tue Sep 30, 2003 3:36 pm
Post subject: Re: Request for setting a cookie . . . [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Notorious Sharif" <sharif.RemoveThis@nyc.rr.com> wrote
 > While shouting G-UNIT, Richard L. McCulley wrote this:
  > > Many of the sites that I go to today are setting cookies (or so my
  > > McAfee Security Center tells me). What is the purpose of them setting
  > > cookies #1?
  > >
  > > And secondly, as a web site developer, how can I request to set
  > > cookies?
  > >
  > > Richard
 >
 > Cookies mainly are used by websites to store data used throughout the site.
 > You want to set cookies? For what purpose? You can do it many ways: with
 > PHP - use the function setcookie().
 >

var Then=new Date()
Then.setTime(Then.getTime() + 365 * 24 * 60 * 60 * 1000)
document.cookie = "cookie1=This cookie is to ask 'Add To Favorites' only once!;expires=" +
Then.toGMTString()

javascript might be easier, you have to set a timeout for when they expire.
lots of sites using them, they often reaarange the entry screen depending if you've been there
before.

Herc<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Request for setting a cookie . . . 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Link Request - Would anyone be willing to exchange links? I currently get 200 uniques a day, aiming for 500 before next week.. www.theSpear.net either post here or email me at spear@theSpear.net please thanks alot!

UK - request for advice - Hello, I saw a bunch of excellent and concise advice on the subject of setting up a web site in the thread 'simple question from a new guy'. I'm hoping there are some UK webmasters in here who can give me similar advice - a good place to register a..

Setting up my first web site - Is this the best NG for a novice to get help with problems? I am setting up a site using MS Word (it's all I have) and apparently it looks different to someone else than it does to me. I could use some basic knowledge on authoring (a book or website).....

setting up homeserver - Hi, want to make a website but place it on my PC, i have installed Apache 2.0 and PHP 4 on my computer i placed files in it, and when i visit it, it works... (It's an Ip address site) but i managed to get NO-IP DUC, the program gets a redirect site like....
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]