Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Cookies

Posted on 2000-03-09
6
Medium Priority
?
243 Views
Last Modified: 2013-12-25
I would like to learn how to write Cookies, in order to make a web site like EE, (no need to login in everytime, and my information can be shown in the every web pages).
any one can provide example (source code) to me?
or please provide me some reference web sites.
Thanks.

mwhuen
0
Comment
Question by:mwhuen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 1

Expert Comment

by:chaduka
ID: 2601718
It really depends on what language you intend to use in your CGI programming.

An excellent resource on Perl cookies is on http://www.bewley.net/perl/cookie-test.html.
Also, check http://www.cookiecentral.com/

Have fun!
0
 
LVL 10

Expert Comment

by:makerp
ID: 2602692
activestates help is spot on for this sort of thing. even if your unix. if you have access to win then download it from the web.. its free www.activestate.com

if only for the lovely html help that you get its worth it
0
 

Author Comment

by:mwhuen
ID: 2609832
I use Perl for cgi programming.

what method should I use to implement my program?
use Cookies? use hidden values? or what else?

should I change to ASP sessions?
or change to PHP?

mwhuen
0
Linux Academy Android App Now Supports Chromecast

We have some fantastic news for our Android fans. We’re so excited to announce that the Linux Academy Android app is now available with Chromecast support. That’s right – simply download the latest update of the Linux Academy App and start casting your favorite course videos!

 
LVL 84

Expert Comment

by:ozo
ID: 2609916
0
 

Author Comment

by:mwhuen
ID: 2612289
are sessions better than cookies?
0
 
LVL 1

Accepted Solution

by:
stephenblade earned 60 total points
ID: 2613937
The easiest and best way to place cookies is to check out Matt's Cookie.Lib at http://www.worldwidemart.com/scripts/cookielib.shtml


It can also set session cookies.. just by not setting the expiration...

As far as the differance between session and normal.
Regular cookies expire opoun the date you set them to expire, Session cookies last until the browser is shut down or your script removes them..

0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question