Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Theme maker
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Theme maker

 Post Reply Post Reply
Author
Aritimi View Drop Down
Newbie
Newbie


Joined: 09 November 2003
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aritimi Quote  Post ReplyReply Direct Link To This Post Topic: Theme maker
    Posted: 14 November 2003 at 7:24pm

I own a personal website that uses asp scripts to run various parts of it.  One of the things I'd like to do is create themes or "skins" for my website.  But for the love of my I can't seem to figure out cookies and how they work.  I'm extremely new at actually writing asp lines other than includes.  Could someone please help me?

(Also I've found a few tutorials that say you have to use a form, is this necissary? I'd like to have it so my visitors just click and image and it changes the coding.)

Thanks in andvaced for any help you can give me.

Back to Top
FLATLINE View Drop Down
Groupie
Groupie
Avatar

Joined: 08 July 2002
Location: Israel
Status: Offline
Points: 142
Post Options Post Options   Thanks (0) Thanks(0)   Quote FLATLINE Quote  Post ReplyReply Direct Link To This Post Posted: 15 November 2003 at 7:32am

Cookies in ASP is pretty simple.

You write to a cookie like this:
Response.Cookies("cookie_name") = "value"

You read a cookie like this:
SomeVariable = Request.Cookies("cookie_name")

You can define a cookie's expiration date like this:
Response.Cookies("cookie_name").Expires = SomeDateVariable

You may also use cookies as arrays, like this:
Response.Cookies("cookie_name")("sub_name") = "value"
or
SomeVariable = Request.Cookies("cookie_name")("sub_name")

Visit my site: DarkGreen HQ
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.