|
| |
|
|
mjmtravel
Posts: 327 Joined: 7/30/2006 Status: offline
|
Form that carry's User ID - 9/21/2009 20:35:34
I have a 3 part form that is filled out by a spooky logged in user. The form I have set up works fine but I need to carry the users ID and add it to the database along with the form information, preferably hidden. Is this possible? I have tried to added it at the bottom of the form but I'm not sure how to ask to carry the user ID from the page, since the user is logged in when filling out the form. Hope that makes sense.
|
|
|
|
mjmtravel
Posts: 327 Joined: 7/30/2006 Status: offline
|
RE: Form that carry's User ID - 9/21/2009 20:49:08
The user is logged in but how do I get his user number into the database?
|
|
|
|
mjmtravel
Posts: 327 Joined: 7/30/2006 Status: offline
|
RE: Form that carry's User ID - 9/22/2009 20:19:20
Spooky Right now I'm adding it manually but I would really like to add the user ID automatically. I think you gave me this code to put at the top of the page to actually add the user name to the database. Its been a while since I've messed with this code so I"m not sure if its correct but it seems to be working. Can I adjust this code to add the user ID also? <% If Session("UserName")&"" = "" AND Request.cookies("Spooky")("T1aUs")&""="" Then Response.redirect "/index.asp?Redirect=" &Request.Servervariables("URL") End if %>
|
|
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
|
|
|