Solved

Cookies

Posted on 2000-03-09
6
224 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
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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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 20 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now