LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-21-2008, 05:55 AM   #1
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
Perl sessions OR cookie handling OR something else


Hi,
I'm developing a website where some data, input by the user has to be put into a database, based on certain conditions - i.e. when they input their name and the data, if their name is already in the database, then a new line with their name will NOT be created in the database, otherwise it will (this is a MySQL database). For this, when they post the data, a page will be shown to them saying "Same person" or "Not same person". My question is - how to program this, that is, I would like the data that they've posted to be held *on the client side*, and if they click "Not same person", then that data will be posted along with their name.
I would like to do this using cookies, which is why I've been Googling lots of pages on Perl sessions (which I *think* does cookie handling), but I'm totally new to all this - could someone help me as to how the data would be held on the client side between two different programs, ie. submit.cgi and notsame.cgi .
Thanks a lot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl: handling of UTF-8 in XML and HTML jot Programming 5 07-26-2009 02:53 PM
handling perl string containing '@' and '$' with system function powah Programming 7 11-30-2007 12:54 AM
cookie sulekha Ubuntu 1 11-16-2007 07:21 AM
Perl Error Handling Crashed_Again Programming 1 01-21-2004 02:25 PM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 08:09 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration