Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Web fourms cookies  RSS feed

 
clojure forum advocate
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I creating my own web forum and I have a question about cookies.
What are the typical data that should be stored in web forum's cookies ??
What does JR use ?
thanks.
 
Ranch Hand
Posts: 4702
9
Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
whatever you like. probably the user name for sure so you can personalize a greeting. that is the only thing i have used cookies for.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to make a way to relate data relate to the user. This forums is not a way to go. Look at it and you will see why. Newer versions have fixed it.

Basically you need to use encrytption and compare that encrypted value to the value you have stored in the db.

Eric
 
Hussein Baghdadi
clojure forum advocate
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys.
Well, some more questions :


Basically you need to use encrytption and compare that encrypted value to the value you have stored in the db.


Would you explain more please ?
What does this value should be ? password ? user name ?
Another point, I have also to save the current time in order to highlight fourms that have been updated, right ?
Design question :
If the user want to post a new message, How can I make sure that he has logged in ?
Using'Sessions' concept ?
Does cookies has a role here ?
Thanks again...
[ April 15, 2005: Message edited by: John Todd ]
 
Don't MAKE me come back there with this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!