|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
CF Security, Sessions vs Cookies.
Cookies suck
Sessions rule Thank you, have a nice day. |
|
#2
|
|||
|
|||
|
Unless you're passing the cfid, cftoken, or jsessionid in every URL and form, sessions are based on a cookie that holds these identifiers!
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
|
#3
|
|||
|
|||
|
ERr...so what you're saying is even with sessions you get cookies...but still, when I was just using cookies it was all sorts of problems, switched over to sessions and I guess it handles the cookies better, or the cookies are server side (I think) which gives less room for error.
|
|
#4
|
||||
|
||||
|
Cookies Rule
whats the beef with cookies, theyve helped me out numerous times especially to keep track of the user to log last login, or who posted what.
Yeah i know only so much space is allowed for the cookie and you cant have too many of em' but pish posh 1 or 2 does the job. -Tha CookieMonster ![]() |
|
#5
|
|||
|
|||
|
Nothing wrong with cookies. I especially like ones with chocolate or peanutbutter. Or both. MMmmmmmmmm.....cookie goodness....
![]() |
|
#6
|
|||
|
|||
|
my problem was getting a user to login at a login page and then direct them to a different page depending on the login...
using cflocation right after the cfloguserin tag, the cookie for some reason never set itself properly...don't know why, so esentially I couldn't do what I wanted without using sessions and cookies. But yes, I agree, chocolate chip cookies are where it's at. |
|
#7
|
|||
|
|||
|
The first couple forays into cookies for logging in were hell. I never figured out why I had problems with it--probably a stupid logic issue--but it did color the use of cookies for a while. So I can totally relate.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > CF Security, Sessions vs Cookies. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|