Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Databases
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 6th, 2007, 05:27 PM
Registered User
 
Join Date: Sep 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Creating a ticketing system with SQL Server

I'm trying to figure out the best way to create a ticketing system with SQL server and Windows Authentication.

Generally, my goal is to have a web site automatically detect the user (using windows Authentication only) and when a user accesses the site, all tickets that that user has created, will be present. The user never has to Login, or has to manually create this data store (with execption of writing a ticket itself).

Everytime the user accesses the site, BOOM all his info is stairing at him/her in the face. Because we are all in the same intranet network, everyone will have to use Windows Authentication, so the process of gathering the users name should be brain dead.

I just want to know what the best path to start implementing the above senario is.
I figure, I'll just use the Page_Load event to capture the users name, then have a C# method call a SPROC for the user. The users' name will be the variable to that the system can access his particular data.

Would greatly appreciate any insight as to how best to create this senario. Granted, I'm still kind of new to ASP.NET and SQL Server 2005.

-Thanks

Reply With Quote
  #2 (permalink)  
Old November 6th, 2007, 05:42 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Look into using the server variable: Remote_User If you have set windows authentication up on your web directory that server variable will contain a string similar to: <domain>\<user>

Once you have that string you can build the rest of your application around it since everything the user sees will be based upon that value.

Also, post your ASP.NET questions here: http://p2p.wrox.com/forum.asp?FORUM_ID=133 this is the Classic ASP forum.

hth.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor :.
Wrox Books 24 x 7
================================================== =========
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
creating ssis packagte for sql server to sql serer Laxmikant_it ASP.NET 3.5 Professionals 0 November 26th, 2008 12:23 AM
Creating a new process to install SQL Server Exp tknnguyen C# 5 July 25th, 2008 03:24 AM
Creating a SQL Server DB through VB code tknnguyen VB Databases Basics 2 July 2nd, 2008 11:28 AM
Movie Ticketing System Machix General .NET 1 March 6th, 2005 06:57 PM
SQL Server - System log full Jane SQL Server 2000 3 December 23rd, 2004 10:10 PM



All times are GMT -4. The time now is 12:06 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.