IE can’t remember login info
Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=18226
Printed Date: 13 April 2026 at 10:16am Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: IE can’t remember login info
Posted By: adrianv
Subject: IE can’t remember login info
Date Posted: 01 February 2006 at 2:44pm
Hi I have modified the code in file: "inc_login_user.asp" line: 162
'Read in the users ID number and whether they want to be automactically logged in when they return to the forum lngUserID = CLng(rsCommon("Author_ID")) strUsername = rsCommon("Username") strUserCode = rsCommon("User_code") 'modified code line 'For extra security create a new user code for the user ''strUserCode = userCode(strUsername) 'modified code line 'Save the new usercode back to the database ''rsCommon.Fields("User_code") = strUserCode 'modified code line ''rsCommon.Update 'modified code line
'Write a cookie with the User ID number so the user logged in throughout the forum 'Write the cookie with the name Forum containing the value UserID number Response.Cookies(strCookieName)("UID") = strUserCode
|
the modification made it possible for a user to login from 2 computers and stay logged in.
after it worked ok for a few weeks, i suddenly need to re-login every time i open the IE (no problems in FF) it happened after i added a few validation rules to the "inc_regiter.asp" file.
any sugesionts on what can cause this problem?
------------- http://www.kramery.com - http://www.kramery.com - Photography
|
Replies:
Posted By: WebWiz-Bruce
Date Posted: 01 February 2006 at 6:40pm
Try celaring out IE's cookie cache
------------- https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting
|
Posted By: adrianv
Date Posted: 02 February 2006 at 6:56am
that didn't help, i deleted IE cookies, looged in to the forum, closed the browser and re-opened it.
the IE did not remember my details and i had to re-login.
------------- http://www.kramery.com - http://www.kramery.com - Photography
|
Posted By: WebWiz-Bruce
Date Posted: 02 February 2006 at 10:09am
Try on a different PC.
Could be you setup IE to delete personal data when you exit the program.
------------- https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting
|
Posted By: adrianv
Date Posted: 02 February 2006 at 10:28am
it might be it, i just tried it on another computer, and after deleting the cookies it worked ok.
thanks for your help.
------------- http://www.kramery.com - http://www.kramery.com - Photography
|
|