Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Remember user settings
Old 02-11-2007, 06:01 AM Remember user settings
ihaveaskateboar's Avatar
Average Talker

Posts: 18
Trades: 0
Hey is there a way for a user to basically save his/hers settings on the site so next time they visit. They keep those settings. Like just say i have a site with 3 different designs/colours and the person selects one when they enter the site. How do i make it so the browser remembers there selection so next time they visit they dont have to click on the same design it just remembers what they selected last time and continues to my main site

Thanks

cheers
ihaveaskateboar is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-11-2007, 07:59 AM Re: Remember user settings
Junior Talker

Posts: 2
Name: mark
Trades: 0
hi,

cookies are used for that. basically it'll store a small unintrusive file on the users pc and your site can save info to it and use whats stored in it each time the user visits..


what language are you using?
Initia Group is offline
Reply With Quote
View Public Profile
 
Old 02-11-2007, 06:52 PM Re: Remember user settings
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
or you have a database with the settings in and set a cookie with the user ID
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-12-2007, 01:31 AM Re: Remember user settings
ihaveaskateboar's Avatar
Average Talker

Posts: 18
Trades: 0
im using html
ihaveaskateboar is offline
Reply With Quote
View Public Profile
 
Old 02-12-2007, 07:42 AM Re: Remember user settings
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
use javascript and cookies in that case

http://www.webmaster-talk.com/javascript-forum/

(thread flagged to be moved)
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Remember user settings
 

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.35195 seconds with 12 queries