Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 cookies - with or without typing www
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Gort
New Member

84 Posts

Posted - 08 April 2006 :  23:07:52  Show Profile
Weird cookie behavior:

1. I type in site.com/board -> i appear logged out
2. I type in www.site.com/board -> I appear logged in

any ideas?

Gort
New Member

84 Posts

Posted - 09 April 2006 :  00:15:38  Show Profile
I fixed it! I put this at the top of default.asp and any other pages where I was having the problem:
If LCase(Left(Request.ServerVariables("HTTP_HOST"), 3)) <> "www" Then Response.Redirect("http://www." & Request.ServerVariables("HTTP_HOST") & Request.ServerVariables("URL"))
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07