Affiliate Marketing
Forum Search

Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 21-03-06
Wardy's Avatar
This is the one
 
Join Date: Aug 2003
Posts: 2,747
Thanks: 14
Thanked 0 Times in 0 Posts
Wardy is an unknown quantity at this point
  Sessions or Cookies

I'm unsure on which is the best way to go, either sessions or cookies.

I want to create a section where users can log in and upload things amongst other things to one of my sites. I can do a basic log in of my own but need to make it secure so anyone who may visit the computer after can't get to see any passwords or anythgin that a previous user may have entered.

Is the best way to go session or cookies. From what I've looked at I'm thinking sessions but thought before I start on it I'd ask here

Cheers
Wardy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 21-03-06
uklejon's Avatar
Registered User
 
Join Date: Aug 2003
Location: Shropshire
Posts: 815
Thanks: 0
Thanked 0 Times in 0 Posts
uklejon is an unknown quantity at this point
I'm wondering the same thing at the moment, mirgrating an ASP site to ASP.NET.

I've just about decided on cookies but not adding any persistance to them so they should be destryoed when the browser is shut, ie logged out.

The reason i'm not using sessions is that when a few hundred are logged on and they all have a session it reduces the amount of server memory available for the site itself.

Jon prentending to be Carol
__________________
Jon

UK Link Exchange - Find Link Exchange Partners
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 21-03-06
morleymouse's Avatar
Super Member
 
Join Date: Aug 2003
Location: Costa Del Sheffield
Posts: 2,752
Thanks: 3
Thanked 10 Times in 6 Posts
morleymouse is an unknown quantity at this point
use cookies, have a logout button. but make sure any pages that allow the user to change details, change or view the password and email etc require you to enter the password again.

so if someone using a shared PC leaves it logged in and then someone else comes on they will have access to their account but cant do anything without the password.
__________________
Dan Morley
Alpharooms.com
daniel at alpharooms dot com - Hotels, Flights, Airport Transfers, Care Hire + More! sign up
My Blog | Cheap Holidays
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 21-03-06
eskimo's Avatar
Registered User
 
Join Date: Aug 2003
Posts: 659
Thanks: 0
Thanked 0 Times in 0 Posts
eskimo is an unknown quantity at this point
I've used sessions in the past, as they cannot be faked in the same way cookies can.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nearly 40 percent of Internet users delete cookies jess1 The Affiliate Marketing Lounge 11 26-09-06 06:00 PM
Setting of Cookies will 68 The Affiliate Marketing Lounge 7 12-09-05 06:42 PM
Tradedoubler/Jamster Cookies Leeky TradeDoubler 5 07-04-05 02:48 PM
Spyware removal programs deleting wanted cookies. Barry The Affiliate Marketing Lounge 1 29-04-04 03:37 PM
Cookies and some merchants Mark Norville The Affiliate Marketing Lounge 37 31-12-03 01:50 AM


Affiliate Marketing RSS Feeds - Contact Us - Affiliate Marketing - Archive - Privacy Statement - Top

Content Relevant URLs by vBSEO 3.2.0 RC7