How do I display logged in username and AuthorID?
Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=21933
Printed Date: 29 March 2026 at 9:43am Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: How do I display logged in username and AuthorID?
Posted By: bhall007
Subject: How do I display logged in username and AuthorID?
Date Posted: 15 November 2006 at 4:16pm
Hello,
I'm writing a little add-on to my Web Wiz forum (v. 7.9) that is a gift wish list. I used the http://forums.webwiz.net/forum_posts.asp?TID=17566 - instructions in this thread to password protect the page so that users have to login (although the page redirect isn't working right).
I would like to be able to call the username of the user currently logged into the forum on my page as well as the AuthorID (I assume this is the "number" for the WWF username) so that each user that logs in has their own personal wish list.
How do I display the current, logged on username and AuthorID on an ASP page and what includes do I need, etc.?
Thanks!
|
Replies:
Posted By: michael
Date Posted: 15 November 2006 at 5:11pm
Please do a search as this has been talked about quite a bit.
------------- http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker
|
Posted By: bhall007
Date Posted: 16 November 2006 at 1:48am
My searches were unsuccessful. If you could refer me to some threads that would be cool.
Meanwhile, I ended up doing a Session("username")=strUsername in the login_user.asp file right after the user is verified. I then reference the Session("username") in my other page.
Thanks!
|
|