Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Problem after domain name change
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem after domain name change

 Post Reply Post Reply
Author
rob_andy View Drop Down
Newbie
Newbie


Joined: 21 February 2003
Location: United Kingdom
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote rob_andy Quote  Post ReplyReply Direct Link To This Post Topic: Problem after domain name change
    Posted: 11 May 2005 at 10:41am
Hi there all,
 
I changed the domain name which my forum was listed last night and discovered this morning that I was getting a CDATE error.  Had a look into problem and realised it was something to do with Locale.  Ended up solving the issue by emptying my cookies.  Is there any code I can change to expire all cookies and force a refresh to get everybody back in without them having to delete cookies?  Thanks in advance.
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 11 May 2005 at 11:52am
you could set a cookie on a users PC after clearing the cookies then if cookie exists already done.. put this within a session veriable so its once per a session.

then after a few weeks take the code out and leave as it is
Back to Top
rob_andy View Drop Down
Newbie
Newbie


Joined: 21 February 2003
Location: United Kingdom
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote rob_andy Quote  Post ReplyReply Direct Link To This Post Posted: 11 May 2005 at 12:21pm
Thanks for that, I'm not familiar with cookies, how would I do the said.
 
Thanks
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 11 May 2005 at 12:29pm
if session("CookieCheck") = "" then

Response.Cookies(strCookieName)("LTVST") = ""
Session("CookieCheck") = "true"
END IF

im not sure on the above but add that at the top of the common.asp page.

leave for a few days (when you think everyones been on) then delete it .and everyone should use the new format

<- edit ->
add it under the strCookiename is set.
else it wont work


Edited by dj air - 11 May 2005 at 12:31pm
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.