Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - IE can’t remember login info
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

IE can’t remember login info

 Post Reply Post Reply
Author
adrianv View Drop Down
Newbie
Newbie


Joined: 25 July 2005
Location: Israel
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote adrianv Quote  Post ReplyReply Direct Link To This Post Topic: IE can’t remember login info
    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?


Edited by adrianv - 01 February 2006 at 2:45pm
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 01 February 2006 at 6:40pm
Try celaring out IE's cookie cache
Back to Top
adrianv View Drop Down
Newbie
Newbie


Joined: 25 July 2005
Location: Israel
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote adrianv Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
adrianv View Drop Down
Newbie
Newbie


Joined: 25 July 2005
Location: Israel
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote adrianv Quote  Post ReplyReply Direct Link To This Post 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.
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.