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)
 Forum Pages Outside Forum Folder?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 07 August 2007 :  17:41:49  Show Profile  Visit MaD2ko0l's Homepage
hiya,
before i go on i would like to say i have done some searching and have found similar situations but they havent worked.

anyway...

so i am trying to use the forum login stuff on other pages in the root directory of my site.
so in theory what i thought was that when u include config/inc_header/inc_sha256 it would work fine and i would be able to tell if a use is loged in, but i was wrong. it just doesnt seem to be working.

to test if it was working i just used thsi bit of code

<%
if strDBNTUserName = "" then
response.write "not logged in"
else
response.write "logged in"
end if
%>


and it always comes up "not logged in"

now i know this can be done as i have done it plenty of times before.

anyone got any ideas?

thanks

MaD2ko0l

© 1999-2010 MaD2ko0l

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 07 August 2007 :  18:07:22  Show Profile  Visit MaD2ko0l's Homepage
ah...i got it...cookies wasnt refreshing from the browser.

but my next problem...its not the only foum i have on the server so setting the cookie to website is/can causing a little problem...any ideas?

© 1999-2010 MaD2ko0l
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 08 August 2007 :  05:11:48  Show Profile
It shouldn't be causing a problem with other forums on the server, with the cookie set to website, it will only be read by pages within that domain. So you should only encounter a problem with cookies clashing if you've got more than one forum within the same domain, in which case change the value of strUniqueID in config.asp to something else to resolve it.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 08 August 2007 :  10:49:52  Show Profile  Visit MaD2ko0l's Homepage
ok, thankf ro the info, i will try it in a few mins

© 1999-2010 MaD2ko0l
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 08 August 2007 :  18:13:19  Show Profile  Visit MaD2ko0l's Homepage
thanks for the info shaggy...worked like a charm.

© 1999-2010 MaD2ko0l
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 09 August 2007 :  04:41:53  Show Profile
You're welcome, Mad'


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
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.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07