Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Wrox Announcements and Feedback > Forum and Wrox.com Feedback
| Search | Today's Posts | Mark Forums Read
Forum and Wrox.com Feedback Post your suggestions for improving the Forums or Wrox.com or questions for the staff here. "Where can I find the code for my book?"
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Forum and Wrox.com Feedback section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old January 12th, 2004, 03:45 PM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default Uh can we lengthen the life of the wrox cookie?

OK This is ridiculous and annoying, the login cookie only lasts for a couple of weeks.

Let me tell you a story!

One day, unbeknownst to poster who has just spent twenty minutes formulating a reply to a topic, carefully gathering information and research for the poor sap that can't make heads or tails of their code, the poster clicked "post reply"... The *(!@#$* cookie is expired, your reply has been lost because the @#$%#@%$^ site has not designed a method to retain the value of the @#$%@$% reply field. One would think that "Invalid username or password, Click here to correct" Would transfer all that hard work back to the previous page... making use of a handy thing called hidden fields.

Let's see a feature like "save password" should put that !$#%@#$%^ thing in there for 20 @#$%@$^ years!!!!

I'm sorry I have to rant I've been burned by this several times, because you see since the last time it happened its been several weeks and by the time it happens again I've forgotten all about it again! Please for the love of all things sacred, fix this!

Good Day!
: )
Rich

:::::::::::::::::::::::::::::::::
Smiling Souls
http://www.smilingsouls.net
:::::::::::::::::::::::::::::::::
  #2 (permalink)  
Old January 12th, 2004, 03:56 PM
Friend of Wrox
Points: 3,489, Level: 24
Points: 3,489, Level: 24 Points: 3,489, Level: 24 Points: 3,489, Level: 24
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Central, NJ, USA.
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

While management may decide to extend it...

I have had the same problem- I try to check the top left of the screen to see if I am logged in.. another "hint" is that if the QUick Reply box isn't there- you are not logged in.


Hal Levy
Web Developer, PDI Inc.

NOT a Wiley/Wrox Employee
  #3 (permalink)  
Old January 12th, 2004, 04:20 PM
Friend of Wrox
Points: 2,570, Level: 21
Points: 2,570, Level: 21 Points: 2,570, Level: 21 Points: 2,570, Level: 21
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: San Diego, CA, USA
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The easiest fix to this would not be to extend the expiration duration of the cookie, but to reset the cookie's expiration each time it's accessed.

So the cookie lasts three weeks. Each time I log in, that should reset the 3-week countdown timer. That way, frequent posters like us will never have their cookie session expire, regardless of the default cookie duration.

Take care,

Nik
http://www.bigaction.org/
  #4 (permalink)  
Old January 12th, 2004, 05:27 PM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

lol, at any rate, thanks for the attention to the matter!

I'm not always terribly observant, I tend to focus more on what I'm plugging into the textbox and forget about the rest of it... using it so often I get used to just typing in my reply and clicking post. I don't use the quick reply most of the time.. because the other reply method has a larger field and makes it easier to see more of what's being typed.

Thanks!
: )
Rich

:::::::::::::::::::::::::::::::::
Smiling Souls
http://www.smilingsouls.net
:::::::::::::::::::::::::::::::::
  #5 (permalink)  
Old January 13th, 2004, 10:46 AM
Friend of Wrox
 
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 202
Thanks: 0
Thanked 1 Time in 1 Post
Default

Rather than extending the life of the cookie (which is currently set for 30 days), I made the changes to "refresh" the cookie as you visit the site. This was not quite as easy as it would sound since the cookie logic also has to respect the user's selection to not save his login/password. There are several different situations that must be taken into account:
  • The user logged in and wants their password saved
  • The user logged in and doesn't want their password saved
  • The user auto logged in and (we assume) wants his password saved

Now the autologin cookie should only expire 30 days after your last visit.

Maybe I should change that to 3 days - to encourage everyone to visit more often... :D

Bruce Luckcuck
Director, Applications & Support Services
Wiley Publishing, Inc.
  #6 (permalink)  
Old January 13th, 2004, 04:44 PM
Friend of Wrox
Points: 2,570, Level: 21
Points: 2,570, Level: 21 Points: 2,570, Level: 21 Points: 2,570, Level: 21
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: San Diego, CA, USA
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hmm.. It seems to me that the only situation where you'd refresh the expiration of the cookie would be the 3rd scenario -- that is, when the user is auto-logged in.

If they don't want their password saved, then they'll never be auto-logged in. If they log in and want their password saved, then their cookie is created normally anyway -- there's no existing cookie to refresh.

Anyway, I'm glad that you made the changes. 30 days is fair. If you set it to anything shorter, then semi-frequent (once a week or so) visitors might be discouraged from coming back since they find they have to always log back in.



Take care,

Nik
http://www.bigaction.org/
  #7 (permalink)  
Old January 14th, 2004, 05:37 AM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Howdy ya'll. When I checked in on this thread earlier I thought yeah cool. I was pretty satisfied that you had updated the cookie to refresh itself. But the more I thought on it the less sense it makes to have a 30 day cookie on a feature titled "Save Password".

Consider this, when you log onto AOL, Yahoo, Amazon.com, Ebay, Half.com etc... assuming that you have an account with one of these... does that website ever forget who you are when you tell it to remember you?? It goes to a bit of that old logic, if any of you have ever worked in retail, or well the public in general, you'll know what I'm talking about. All of these websites understand one very fundamental thing, build a repore with the customer and the customer will return again and again. How do you build a repore with the customer, well in a live environment, you use their first name, you remember their face... details about what they like and don't like. Its the blueprint of good customer service.. which is the blueprint itself for a successful business. Of course most, if not all, ask for a password before allowing access to sensitive information, but I mean come on, this is a programming forum here not an issue of national security!

Let me ask you this... forget everything you know about technology, the internet, or that you work for Wrox or Wiley, when you're surfing the internet and come across a website, register with that website and login to that website and while you are logging in you encounter a box labeled 'Save Password' what do you expect that box to do? I can tell you this I can go months without logging onto Amazon.com, but when I do get around to getting back on the site they remember who I am, what I like and use my first name, every time. I like that, its good business. It makes life easier on me because they remember my information, what I like, etc.

My take on the whole thing is the cookie should be set for the maximum possible lifetime.. Wrox should remember who I am and treat me like a potential customer, as most other websites would do. Shortening the life of the cookie to three days would be annoying and completely undermine the logic of having a feature that remembers who you are at all (Which I think you were only joking about that anyway ;)). But definitely not in the good customer service practices. If you were to do that change the box to read "Save Password? ... well for a few days anyway.".

I'm not trying to challenge your decision or anything... because I visit the site so often that suits me just fine.. just food for thought. IMHO I think the only way the cookie should get toasted is if the user explicitly logs out or clears their cookie cache.. Its quite easy to determine if the user has checked the box, so that part of it shouldn't be of consequence. My website, personally, that dude is set up to expire twenty years from now!

Just my two cents anyway fellas, thanks for updating it just the same!

: )
Rich

:::::::::::::::::::::::::::::::::
Smiling Souls
http://www.smilingsouls.net
:::::::::::::::::::::::::::::::::
  #8 (permalink)  
Old January 14th, 2004, 02:36 PM
Friend of Wrox
Points: 2,570, Level: 21
Points: 2,570, Level: 21 Points: 2,570, Level: 21 Points: 2,570, Level: 21
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: San Diego, CA, USA
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My $.02 (if not less).

Maybe "Remember Me" would be a better alternative string than "Save Password".

Take care,

Nik
http://www.bigaction.org/


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat life cycle listener dp_java Apache Tomcat 0 August 21st, 2006 06:39 AM
Life cicle in C# arielote C# 1 January 8th, 2006 05:20 AM
life upload asp.net Patrick19 VB.NET 0 April 14th, 2005 07:21 AM
looking for com.wrox.jsptaglibs.cookie vikont BOOK: Beginning Java 2 1 October 6th, 2004 11:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.