navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Wanting to display UserID with spooky login

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Wanting to display UserID with spooky login
Page: [1]
 
Jeb

 

Posts: 3
From: None
Status: offline

 
Wanting to display UserID with spooky login - 6/26/2001 20:58:00   
Howdy

I want to show the UserID variable on the pages that people access once they login using the spooky login. I then want to pass that ID number on into a another DB table so I can keep track of not only a persons name but their ID number too.

Can it be done?

rdouglass

 

Posts: 9182
From: Biddeford, ME USA
Status: offline

 
RE: Wanting to display UserID with spooky login - 6/26/2001 15:47:00   
Yup, you sure can. I use it mostly by reading the cookie. I have Spooky Login and have also used the session variables in there. Spooky himself should be able to answer specifics quickly, but if you burrow into the 'includes' files, you'll find all the cookie and session stuff....

If your using session variables, I think it already is there; just use <%=request.Session("UserID")%>. If your using cookies the line would be something like: <%=Response.Cookies("Spooky")("T1aUs")%>

EDIT: I'm not entirely sure about the 'T1aUs' variable...

[This message has been edited by rdouglass (edited 06-26-2001).]


(in reply to Jeb)
Jeb

 

Posts: 3
From: None
Status: offline

 
RE: Wanting to display UserID with spooky login - 6/26/2001 15:59:00   
Figured it out.

I added the session variable UserID in the a_login.asp file then I just created a hidden field where I wanted the information passed on and with the FP form wizard I sent it to the right spot in the DB table.

Sweet! A little of this and a little of tha.


(in reply to Jeb)
Spooky

 

Posts: 26599
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Wanting to display UserID with spooky login - 6/26/2001 16:44:00   

(in reply to Jeb)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Wanting to display UserID with spooky login
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts