|
im developing an online test application using ASP.NET , IIS 7.0 is the server and SQL 2005 is our database engine. the user for a test must login first. i used session id s and variables to store names and login logout. but im having a problem with authentication .if on one computer im logged in as raj , then from a different computer i can still login as raj. how can i maintain unique logging in of users.really stumped. please help.
|
|
|
|
|
u can maintan with database flag...
but u should keep in mind..all the users will not click logout...they will close browser directly
modified on Wednesday, March 11, 2009 8:18 AM
|
|
|
|
|
The solution given by Rajesh is appropriate.
You can further enhance is as follows to automagically maintain/reset the flags:
1)Define a database level job to scan the users table for the active flags and the time they were marked and then reset the same after a specific amount of time.
2) Or add code to Session_OnEnd to mark the flag
3) or use and asynchronous javascript call on the page_unload event at client side to reset the flag.
Regards,
Cybernate
|
|
|
|
|
ur saying that i should create a flag field in my database , and everytime a user logs in set flag to 1, and then on logging out set flag to 0.right? is there any easier way?
|
|
|
|
|
Hi Dear
I want to use decode and encode technique between browser and server requests.
Please tell me some idea abt this..
Regards
Rajeesh MP
|
|
|
|
|
I am tring to integrate Pay Pal with my website. The website is in ASP.net 2.0 but the SDK That I have downloaded from net(cms.paypal.com)
is in ASP.net 1.1. I have created a different virtual directory for the same. And have replaced the DLLs ( Log4net,Paypal_Base and Asp_netSamples_Nvp). But when I run the project in ASP.net 1.1 using visual studio 2003, even if add only the default form it displays an error saying
(Parser Error Message: The type 'ASPDotNetSamples.Default' is ambiguous: it could come from assembly 'c:\inetpub\wwwroot\PayPal\bin\PayPal.DLL' or from assembly 'c:\inetpub\wwwroot\PayPal\bin\AspNetSamples_Nvp.DLL'. Please specify the assembly explicitly in the type name.)
Please help me with how the Pay Pal can be integrated with the website?
Thanks in advance
Regards
Amandeep Bhullar
|
|
|
|
|
better u use nsoftware.IBizPayPalWeb.dll
Regards
Rajeesh MP
|
|
|
|
|
I registered one calendar control in the Master page, but when am adding that control in the content page it is not working, this control is working without master page.
Master page Register code as follows
<%@ Register Assembly="GMDatePicker" Namespace="GrayMatterSoft" TagPrefix="cc1" %>
Content Page adding control Code as follows
<cc1:GMDatePicker ID="GMDatePicker1" runat="server" CalendarFont-Names="Arial" InitialText="Select a Date">
<CalendarDayStyle Font-Size="9pt" />
<CalendarTodayDayStyle BorderWidth="1" BorderColor="darkred" Font-Bold="true" />
<CalendarOtherMonthDayStyle BackColor="whitesmoke" />
<CalendarTitleStyle BackColor="#E0E0E0" Font-Names="Arial" Font-Size="9pt" />
</cc1:GMDatePicker>
|
|
|
|
|
What Error message u r getting..??
|
|
|
|
|
Unknown Server Tag - cc1:GMDatePicker
|
|
|
|
|
compiling time or running time u r getting this error..??
u r using any DLL for that..??
Better use Ajax calender control
http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/Calendar/Calendar.aspx
|
|
|
|
|
Compiling Time.
am using one DLL for this.
How can i download the control from this site
http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/Calendar/Calendar.aspx
Or Is there any other site for downloading ajax calender control
|
|
|
|
|
is there examples. vb and c#..u download one example..
u check that download folder bin dorectory..u will get that DLL
http://www.asp.net/learn/ajax-videos/video-124.aspx
get VB Code
|
|
|
|
|
Can chilisoft asp support asp.net?? wat about .net webservces? what are the differences b/w using chillisoft asp and windows hosting??
|
|
|
|
|
Microsoft only supports .NET on Windows OSs. That said, I wouldn't do it if you are doing this for a company in which this will be vital to the users, or even if it was for anything more than a tool.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
thanks, so i cant use chilisoft for deployement right??
|
|
|
|
|
You can. And actually Chilisoft was designed for deployment and not testing. But, if you have a company depending on an application, and for some unknown reason it goes down, you can call in Microsoft(for a fee of course) and they can get you back up. That is of course if it isn't because of a bug in your code, but that wouldn't happen would it? : )
Microsoft kinda gets you by the balls with .NET.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
Thanks for the quick reply. Actually chilisoft was very new to me (mee tooo a fresh grad) and while i was doin a research on it and i find somewhere that chilisoft can only support asp but not asp.net...... if it support both what's the real difference apart from the platform it running??
|
|
|
|
|
Support. ASP is also a Microsoft technology.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
Chilisoft is ASP ONLY. You cannot write .net code with chilisoft. It was a SUN product and they are (or already have) 'sunsetted' it. Its dead. It is now SO OLD, that you have to know VB 6 and its constructs in order to code in it. Thats as far as it went.
SUN started calling it 'JAVA Active Server Pages' a while ago. You can see the cross over between the URL and the page text here, http://www.sun.com/software/chilisoft/[^]
The product is DEAD.
|
|
|
|
|
thanks Brian, if its already dead why most linux webhosting company's still providing chilisoft to run asp? anyway thanks for the info that i cant run asp.net that was exactly what i need to know....
|
|
|
|
|
"if its already dead why most linux webhosting company's still providing chilisoft to run asp?"
Same reason some people still run Window 98 and 2000. Don't get me wrong, ASP was powerful in its day and Chilisoft provided a way to make that work on a great number of servers. Its just we are a decade beyond that now in both form and functionality.
|
|
|
|
|
haha thanks Brian.....
|
|
|
|
|
please guide me about my final year project (online news portal)
the major requirements of project are
>Implementing the RSS FEED
>News Management:
• Daily news paper according to proper time schedule.
• Separate sections for ads.
• Section for latest news (i.e. breaking news).
• Add, delete .and update News.
• Maintain history of Daily newspaper.
• Uploading news in the form of Text/Images/Audio/Video.
>Magazine:
• Separate section for Magazine.
• Staff/members can add articles.
• Photos and Images.
>User Registration:
• Register the new user.
• Store information about the users.
• Delete the user.
• User categories
• Grant privileges to user.
>Request Handling and Advertisements:
• Accept request for ads.
• Reject Request for ads.
• Set time and date for accepted ads.
• Display accepted ads in ads section for the given time period.
>Forum and polls:
• E-mail Alert for latest news.
• Blogs for registered users
• Polls on different events
• Discussion Boards.
|
|
|
|
|
Hi,
so what do you want to know exactly?
Regards
Sebastian
|
|
|
|