Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: display.asp

  1. #1
    New Coder
    Join Date
    Jun 2005
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    display.asp

    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.

  • #2
    New Coder
    Join Date
    Aug 2005
    Posts
    46
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

    Brett Bretterson


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •