Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


An Q About .asp Pages

  • Please log in to reply
1 reply to this topic

#1 milzee


  • Members
  • 108 posts
  • Gender:Male
  • Local time:01:50 PM

Posted 28 February 2006 - 05:29 AM

I Use A .asp Login Script For My Website, With Usernames/Passwords And All Other Information Stored In A .mdb File. I'm Now Working On A "Logged In" Page Users Are Redirected To Once They Have Logged In. What I Want To Know Is, Using ASP Code, How Can I Get The Users' Full Name From The .mdb File, And Then Display It Like "Hello, Joe Bloggs"

BC AdBot (Login to Remove)


#2 ColdinCbus


  • Members
  • 312 posts
  • Local time:01:50 AM

Posted 01 March 2006 - 10:07 AM

You could go a couple ways. When they login, you can set a cookie that contains thier name and then you would echo that data with:
response.write("Hello" & name)
Or you would need to establish somekind of session in the login script
session("name") = Same_query_name_used_to_check_password("name")
The above is assuming you are storing the the full name in the name column. Then you can pull the data to the new page by
fullname = session("name")
and echo it with
I think that would work, I am not real good with asp. This might be a good place to look for some tips.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users