With so many web surfers using cookie washers, you may need to put
a warning where they will notice it stating that they need to
disable the program temporarily.

AuntySpam, SLP Coordinator, pspug.org

http://www.pspug.org/edu/edu.shtml
http://www.pspug.org/edu/slp/assign.shtml
http://www.pspug.org/edu/slp/slpparticipants.htm





---- Original Message ----
From: Conyers, Dwayne
To: [EMAIL PROTECTED]
Sent: Tuesday, January 06, 2004 7:52 AM
Subject: [wdvltalk] Cookie Crunch

| I am building a web for a client and was requested to give each
| page a
| rating and only users with that specific rating can view the
| page,
| otherwise, they get re-routed.
|
| What I did was create keys in the user database and when the
| user logs in,
| check for those keys that are "on" for the user, then set a
| cookie for
| example: Response.Cookies("adminpagekey") = true
|
| When they navigate to that page, code at the top of the ASP
| page checks to
| see if the cookie is present and if the value is true.  If
| either is false,
| they are rerouted to a generic error page with a key (i.e.,
| abend.asp?key=login) and this is parsed to provide them with a
| specialized
| error message.
|
| Two questions:
|
| First, my understanding is that when using Response.Cookies
| without setting
| a date that the cookies all expire when the browser closes.  Is
| this always
| true?
|
| Second, is there a better way to do the aforementioned
| (considering that the
| client doesn't want to pay for any third party software
| licenses for any of
| the aforementioned functionality)?
|
| Thanks!
|
| --
| Dwacon
| www.dwacon.com

____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to