View Full Version : display.asp
08-18-2005, 02:53 PM
I'm trying to get the display setting for the webpage done something like this page http://www.afb.org/
As you know my display.asp has most of the same features as http://www.afb.org/myafb.asp . But I have no cookies being saved and I the features are only on one page, I would like to allow the features to be on all the asp files I create.
08-18-2005, 03:55 PM
Why don't you make it save the selected features in a cookie? You said it's not doing that. Why not make it so it is? The cookie would be reachable by the rest of the website, meaning that it would be able to apply the settings to every page. The only other way I can think of is putting it in a session, but that would only work for the one time. If they came back to the website later then their settings would be gone. I suggest making it do cookies.
Here's a tutorial on how to do cookies in asp: http://www.w3schools.com/asp/asp_cookies.asp
I haven't read it myself. I work primarily in asp.net for my server side scripting now, and I never did cookies when I was doing standard asp. If it's the same as it is for asp.net then you shouldn't have too much difficulty with it.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.