Not so good as your "DELDOT". I was loughing too for your knowlege sharing.
It's not bad when sharpest point hunters get humans as you and I ;)
Main Topics
Browse All TopicsI expirianced many dificulties to preset "Username" field in $$LoginUserForm . Login failed every time when cookies where present which contained blanks or other special chars. Solution is to escape() and unescape() every cooky value. This values can even with speacial chars be correctly retrieved. But if they are present, then this produce doubled "DomAuthSessId" cookies. With this no login is possible.
I mean this is a task for Iris/Lotus to preserve "DomAuthSessId" from invalied cookies.
In the meantime you can addapt my JavaScript for your needs.
Here my example. Place the code into JS Header event.
function setFields() {
if (document.cookie) {
var begin = document.cookie.indexOf("W
if (begin != -1) {
var end = document.cookie.indexOf(";
if (end == -1)
end = document.cookie.length();
document.forms[0].Username
}
}
if (document.forms[0].Usernam
document.forms[0].Password
}
else {
document.forms[0].Username
};
};
function setWebUserNameCooky() {
var now = new Date();
var nextweek = new Date(now.getTime() + 604800000);
document.cookie='WebUserNa
};
Call the function setFields() from onLoad event.
Call the function setWebUserNameCooky() from onChange event in "Username" field. The cookie will we valid for one week.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I do not know why, but this was the first comment from Gus too. It seams the the whole world is using IE except my company. We use NS...
I have looked again in Lotus DesignerHelp for "cookie" and there was this line:
countend = document.cookie.length
So, you and Gus are right. Length is to be used as property; not as function. Ok I learned now.
Perhaps I have no problems with this because I newer had this "if" true. My cookies had allways semicolons.
At all: it is only a JavaScript example in LotusNotesDomino area...
Regards,
stamp
Jean Marie,
when you keep record, than you have surely noticed that your answer was allready given by Gus.
At all I think this forum is slowly moving to "chat room" instead of an "experts-exchange".
Next time I will think twice before placing a comment with notification to not get douzents of short-comms from Arunu to snocross and back.
Ok. It's still funny :)
Sorry about that. You're absolutely right. But this gives the forum a bit more a personal touch.
Also shows, we're not just here for the points but to make friends.
Glad to be of help even if it was only small.
And no I didn't notice Gus' answer, because then I wouldn't have made any comment.
Kind regards,
JM
Business Accounts
Answer for Membership
by: ArunkumarPosted on 2000-08-25 at 16:25:25ID: 4076962
A Real Knowledge Sharing . . . .
Thanx and Lets Keep Going . . . . .
:-)