Author |
Topic |
|
codedog
Starting Member
USA
12 Posts |
Posted - 01 April 2003 : 20:49:45
|
I have searched the fourms and can't find what I am looking for. I did see a mod that allows univeral login or two, but I don't want all the changes that would be required that comes with them. I have a page outside of the fourm that I want only authenticated (to my snitz forum) users to access. How does snitz know when someone is logged in? Can I use this code on another asp page to check if the user is logged in to snitz? I don't want them to have to log in again if they are already logged in to snitz. |
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 02 April 2003 : 07:35:11
|
I'm looking for this too.. Also I want to display what username I'm currently logged in with on that page.. |
/Tribaliztic - www.gotlandrace.se -
|
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 02 April 2003 : 08:29:27
|
Codedog wrote this: "I did see a mod that allows univeral login or two, but I don't want all the changes that would be required that comes with them."
I checked alittle on the universal login mod but it seems alittle too advanced for what I try to do.. |
/Tribaliztic - www.gotlandrace.se -
|
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 02 April 2003 : 09:24:56
|
Well.. to use "strLoggedMembername" I have to include some files, but the webshop (that's my external page) reloads when one click on an article. Then there is an errormsg because the includes are loaded twice.. If someone want to have a closer look at what I mean I can give you the link, don't want to paste it here in public... |
/Tribaliztic - www.gotlandrace.se -
|
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 02 April 2003 : 09:57:35
|
Microsoft VBScript compilation error '800a0411'
Name redefined
inc_adovbs.asp, line 14
Const adOpenForwardOnly = 0 ------^
This is because the page is reloaded when I click on a link I suppose... |
/Tribaliztic - www.gotlandrace.se -
|
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 02 April 2003 : 10:58:59
|
it's from config.asp, it is included twice.. because of the page reloading.. But maybe a friend came up with a solution, I'll check this tonight and come back to you tomorrow! =) |
/Tribaliztic - www.gotlandrace.se -
|
|
|
Kat
Advanced Member
United Kingdom
3065 Posts |
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 02 April 2003 : 11:42:11
|
It wasn't included twice, but because the page reloaded it was the same result.. I solved my problem with putting the webshop in an iframe! Simple but effective.
|
/Tribaliztic - www.gotlandrace.se -
|
|
|
codedog
Starting Member
USA
12 Posts |
Posted - 02 April 2003 : 12:36:12
|
I ended up using the Univeral login mod, it did do the trick. The biggest issue was I didn't have my fourm in the /forum directory (which the docs clearly state it must be to work). After spending quite a bit of time on it, I renamed my directory (I hate being a conformist!), and now it is working. Thanks everyone for the feedback! |
|
|
|
Topic |
|