WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Showing Member Logged In /Out
~ Outside of WSN directory

Version:
printPrint


Showing Member Logged In /Out
eeyipes
Member

Usergroup: Customer
Joined: Nov 12, 2004
Total Topics: 19
Total Posts: 34
Posted 08/01/05 - 11:30 PM:
quote post
#1
I have WSN installed in a different directory than my main index page, and would like to have the "log in" with form, or "you are logged in as XXX" posted on my main page. I've tried the template anywhere script and was able to get a template to show with the header outside WSN, but can't seem to get this function to work, doesn't recognize when a member is logged in. Any suggestions?
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 08/02/05 - 12:32 AM:
quote post
#2
Perhaps your cookie path/domain makes the login cookies not available in the place you're putting this other page.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
eeyipes
Member

Usergroup: Customer
Joined: Nov 12, 2004
Total Topics: 19
Total Posts: 34
Posted 08/02/05 - 06:29 AM:
quote post
#3
Links is installed at www.mysite.com/links2

I'm trying to get www.mysite.com/index.php to show logged in/out details by putting the content in a custom template with wrapper.

What would the correct cookie path look like?

Thanks!

Edited by eeyipes on 08/02/05 - 07:32 AM
eeyipes
Member

Usergroup: Customer
Joined: Nov 12, 2004
Total Topics: 19
Total Posts: 34
Posted 08/02/05 - 07:41 AM:
quote post
#4
Paul, I got it. All I had to put for cookie path was a slash "/" and it's working now. Thanks!
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.