473,769 Members | 6,034 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can I save user actions in a webpage?

16 New Member
Hello everyone,

I'm developing a web application using ASP.NET and VB.NET connected to a MS SQL Server.

I want the system to automatically save user actions.

For example, when a user logs in, I want the system to automatically save the date + time of log in and also if the user have added or edited anything to the database.

I also want to know how is the easiest way to design that page and sort these actions?
By users? by date? or by action?
How would this affect my database design?
Would I need to add an extra table for each existing one that especially keeps records for this particular entity?

I know this might sound very confusing, but Im in desperare need for help.

Thank you :)
Apr 5 '07 #1
1 1211
kenobewan
4,871 Recognized Expert Specialist
You could have a user actions table with the userid as a field. Write to the table every time an action occurs. HTH.
Apr 5 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
20693
by: Richie | last post by:
What I want is to have a link to a file (it could be a .zip, .exe, .jpg, ..txt or even .html) and when the user clicks on it they are prompted with the Save As box, as opposed to it opening in the browser. I think I need to do something like: $fp = fopen($filetooutput, "rb"); $thefile = fread($fp, filesize($thefiletooutput)); header("Content-type: ???/???"); not sure what to put instead of the ??? echo $thefile;
0
3321
by: dogdog | last post by:
I have just downloaded and installed mod_perl with the latest apache. But .. I'm not sure how to make or even use this. I was thinking that it would allow me to perform interactive type actions however, again, I havent found how to do this either. So with all that said .. here goes. I have several scripts that are command line based that
1
3021
by: me | last post by:
I have a webpage containing a link to a spreadsheet <a href="somefilename.xls">click</a> When the link is clicked a spreadsheet opens in internet explorer using some sort of excel COM object. I would like to enable the user to edit the spreadsheet and then save the changes in the existing file. How ever IE only offers "save as" not "save" and it dosent suggest the original filename. The users already have write acces to the area where...
2
1304
by: Arjen | last post by:
Hello, I have multiplpe web user controls on one webpage. The web user controls have database interaction. When I click on one of the web user control actions then it does'nt show the data inside the other web user controls anymore. What can I do about this? Thanks!
2
3150
by: programmer2004 | last post by:
Hi I have used WebBrowser control and i want to save the entire webpage including pictures etc. i have called ExecWB method of WebBrowser control with OLECMDEXECOPT_DONTPROMPTUSER flag, but it opens save as dialog box. I want automatically save the webpage without using save as dialog box. "Is there any way of save as webpage?" regards
3
6440
by: =?Utf-8?B?YXNkZg==?= | last post by:
Hello. I am making a web application with c# and am using this code: Response.ContentType = "application/x-excel"; Response.AddHeader("Content-Disposition", "attachment;filename=" + HttpUtility.UrlEncode("あいうえお") + ".csv"); Encoding encoding = Encoding.GetEncoding("Shift-JIS"); Response.BinaryWrite(encoding.GetBytes(csvStr)); Response.End(); It works fine..the data gets saved nicely to an excel file. The user pushes the...
1
1141
by: koraykazgan | last post by:
Hi all, I have to solve the following scenario. On my webpage, the user is able to view some text content. I have to put a "Save Document" button on that page. If the user wants to save that document, she clicks "Save Document" and then I have to pop up the Save As Dialog. When the user selects a folder, where she wants to save that file, I need to save that file on the client. The first question is how can I do that in ASP.Net 2.0? ...
2
2530
daJunkCollector
by: daJunkCollector | last post by:
Hey, I am having a user fill out a form then the fields are going to uploaded to my database. So, at this point, when the user hits the submit button I want three things to happen: 1. The form uploads to a database (the following code does this) 2. An e-mail notification is sent to a specified e-mail address. (I know this can be done in the database, but I would prefer it be contained within the ASP code for now, but cannot find...
1
1244
by: Rhm3769 | last post by:
new to this, been looking around and haven't found anything for it yet.... I'm trying to write a script to help out tournament organizers for this online Risk site.... what I'm trying to do is make a script that saves the webpages for specific games and then scans the game log for information they want.... the scanning of the game log will be easy, the only thing I'm confused about it saving the page or the source if having a script save a...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10216
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9997
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9865
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5309
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3965
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3565
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.