DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   C# (http://www.daniweb.com/forums/forum61.html)
-   -   C# ASP.NET Project Idea (http://www.daniweb.com/forums/thread95751.html)

dotNetDummi Nov 6th, 2007 7:43 pm
C# ASP.NET Project Idea
 
Hi all,
(I apologise if this thread is out-of-topic)
I need some ideas for my project.

I have to develop a web application for some users to approve some documents.
The problem I have is that I can't give these people a login account (due to my project requirement).

I have to send email(with the link to each particular form) to these people. Each webpage has more than 5 names.
I don't know how to identify the individuals and only allow them to approve against their names only.

Does anyone has any suggestions? Please help.

binoj_daniel Nov 8th, 2007 12:30 pm
Re: C# ASP.NET Project Idea
 
Send a verification code in the link which will identify them provide you maintain a record of all verification codes, once it is clicked it cannot used by anyone. You might have to maintain a table with some basic user info to whom you are emailing the form for approval.

dotNetDummi Nov 8th, 2007 8:49 pm
Re: C# ASP.NET Project Idea
 
Thank you verr much.
I'm stuck for days and I love this idea!

binoj_daniel Nov 9th, 2007 9:25 am
Re: C# ASP.NET Project Idea
 
Let me know if you need some help we can work out something.

dotNetDummi Nov 11th, 2007 7:32 pm
Re: C# ASP.NET Project Idea
 
Thanks !!
Honestly, I know nothing about verficiation code.
I've googled on it and found some code regarding generating of verification code.

May I ask if I am correct like this?

My database table
user(userId, name, email)
project(projectId, userId, status, reason, v_code)

*status = approved/rejected.

My problem now is I don't know how to generate the URL (with the v_code) in the email.

Next, how can I "disable" the link after the user has approve/reject the documents?

By the way, I'm building a web app in a Intranet environment.

Thanks for your help. =)

ithelp Nov 12th, 2007 12:20 am
Re: C# ASP.NET Project Idea
 
Do not append it in the url, rather direct them to a verification page which has a text box, where user would have to copy and paste the verification code from email.

dotNetDummi Nov 12th, 2007 2:09 am
Re: C# ASP.NET Project Idea
 
Hi, thanks for your reply, just to clarify something..

approvalParties (APId, projectId, name, designation, email, watcherEmail)

ver_code (v_code, apid)

am I right?

binoj_daniel Nov 12th, 2007 10:56 pm
Re: C# ASP.NET Project Idea
 
Quote:

Originally Posted by dotNetDummi (Post 468156)
Hi, thanks for your reply, just to clarify something..

approvalParties (APId, projectId, name, designation, email, watcherEmail)

ver_code (v_code, apid)

am I right?



You said this requests can goto only designated people. So is anyone allocated to a particlar project? Can the same request goto multiple people? If then you might have to add user_id in ver_code

dotNetDummi Nov 13th, 2007 1:55 am
Re: C# ASP.NET Project Idea
 
yeah. But these people don't have a userid , so i actually gave them an id in the table approvalParties.

Erm, then I can use the apid to identify them, am i right to say so?

binoj_daniel Nov 13th, 2007 10:06 am
Re: C# ASP.NET Project Idea
 
Quote:

Originally Posted by dotNetDummi (Post 468778)
yeah. But these people don't have a userid , so i actually gave them an id in the table approvalParties.

Erm, then I can use the apid to identify them, am i right to say so?



Yes, if app id is only for one user then you can.


All times are GMT -4. The time now is 3:51 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC