|
Yep - invent a world with no malicious code, where people don't get spammed every day with emails trying to steal their banking passwords. Then mail providers won't assume you're sending something that they want to remove.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi Chris,
Sure it could be a malicious code for the providers. But the requirement in my hand is to track where on the mail did the user clicked and to award somepoints to him.
Any suggestion how we could do this without hurting or troubling neither the user nor the mail providers ?
Thank you
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
Hello I am studying(New Bee) asp.net and I am doing one of my exercise and it's all about small content management system so I have created one web page with few images on it and now I dont understand where to start what does content management system should be I dont want code but before I can start coding I want to understand it what CMS should be and In this exe. it says that,so I mean how to start this exe.
1- All the text content should be held in a database (either SQL Server or Access) and displayed on the page using ASP or ASP.Net (your choice).
2- A small content management system should be built to allow for the editing of the content of this page.
3- The news should be in it’s own database table, each item a separate record which your page will loop through to display.
so any help for this
waiting for your kind rep.
|
|
|
|
|
bapu2889 wrote: I want to understand it what CMS should be
Good move. This[^] link should help you get started.
/ravi
|
|
|
|
|
Thanks for your rep.
I have checked this web site yesterday but still I am confuse any other help
waiting for your kind rep.
thanks
|
|
|
|
|
This is pretty straightforward. Perhaps you need to talk to your teacher ?
bapu2889 wrote: All the text content should be held in a database (either SQL Server or Access) and displayed on the page using ASP or ASP.Net (your choice).
This means what it says. The content in a CMS is stored in a DB, so you write a page that knows how to retrieve items from the DB and display them. CP is an example of this. The code for this forum stays the same, it's the posts we type, that get stored in the DB, that changes how the page looks from moment to moment
bapu2889 wrote: A small content management system should be built to allow for the editing of the content of this page.
Which is exactly what is happening when you entered this post into CP.
bapu2889 wrote: The news should be in it’s own database table, each item a separate record which your page will loop through to display
This would be like the news feature in CP also. A seperate table in the DB and a seperate page for showing news items. Of course, you then need an admin page for entering them, too.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hello sir
Thanks for your rep.
so it means all the HTML I have to store in database for each page, but the main thing is that in question it says "content management system should be built to allow for the editing of the content of this page." so when user want to edit it what user going to see HTML or web page on screen? i am confuse with this that what if user dont know html or any thing to do with programming how user is going to edit it ? I think i am going to much deep in it but this exe. could be far more easier but I am not getting there and I have allready created one page (home page) and it's looks very nice but it's not doing any thing untill I make it usable, and I forgot to add remaining pare of question which is as bellow
No tier-pages need producing, only the home page.
The client log-on box needs to be actual form elements, but needn’t do anything when submitted.
waiting for your kind rep.
have a nice day
|
|
|
|
|
i have set of files in www.xxxxx.com/images/a.aspx.when i run in the browser some xml file will be created like that we've coded which file is very confidential info.after user closed the browser if user could finds the xml files in temp..so that they can find the link..once they found out.they can run it the browser..ex:www.xxxx.com/images/confidentaildata.xml...we want to secure that info...how do i do that?..
1,i think we can sortout if we can able to clear the cookie(temp files) ..
2,we have to secure the xml using any authentication..
if u people know someother way to sortout.pls give ur suggestion.
so if anybody faced this kind of issues..
pls help me to sortout..
Thanks in advance
|
|
|
|
|
If it's that sensitive then don't save it within the virtual directory for your site, put it off somewhere not browsable.
|
|
|
|
|
Hi all,
I have 2 pages (p1 & p2). In P1 iam getting a result of a stored procedure returning it to a datatable and binding it to a gridview. After i get the results i can open each result in another page P2. In P2 i can do several server side requests. I need to get back to P1 and need to maintain the same results i had without using sessions coz iam afraid i cant handle it properly. Is there a way i can keep my datatable alive so when press back i can get the previous result of search from database?
|
|
|
|
|
I think the best approach is to use Session.
samerh wrote: i had without using sessions coz iam afraid i cant handle it properly.
Why ? What is the reason ?
samerh wrote: Is there a way i can keep my datatable alive so when press back i can get the previous result of search from database?
Only by hitting the Database server again !!
cheers,
Abhijit
|
|
|
|
|
Hmmm let me see...
I think i have an idea. If i added an input button and used javascript history.back(); return false;
I can get back to the page before. But this will only work if u dont do a post back on page P2 right????
If i manage in my case to prevent going server side on page P2 then i will be able to get back to page P1 and maintain the data.
My problem is that i have an asp.net button on page P2 that loops through the grid and opens another page using also
javascirp window.open. If i manage to prevent this button from refreshing this page then i will be able to do it....
execuse me iam just thinking loud
|
|
|
|
|
That's Good. But why you are afraid to use session ? I think that is the think that you can implement easily.
cheers,
Abhijit
|
|
|
|
|
Most people are instructed to avoid using the session, because it's the most expensive way to go.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
my suggestion is u have to use session to fix it.no other go.
u cant keep data alive.
if u found any other solution to fix it..let me know..
|
|
|
|
|
The best way to do this is to make p1 and p2 controls on the one page. Then, you can change which control is visible, and viewstate will maintain the state of your pages. The other way to do it, is to put the parameters that define the search on the querystring, so when your user goes back, the same search is repeated, because the querystring defines it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
i am using confirm button extender with a button second thing i am using required field validator with that button also
when i click on button and any validator is active it shows confirm message but does nothing my requirement is if required validator field is active then confirm button must not work how can i do that???
i have tried confirm message box of javascript with that button and in that case if i use yes of confirm message box all the required validator fields are skipped even i have set causevalidation property to true
means i cannot achieve this thing both ways
any help would be apprciated.
umerumerumer
|
|
|
|
|
w. steels soup to nuts series tried to build online auction but he never finished the add auction page i tried to add a detailsview to insert i set the mode to insert and tried to write this code
Imports Microsoft.VisualBasic
Imports System.Security.Permissions
<ComponentModel.DataObject(True)> _
Public Class Auctions
Public Shared Sub InsertAuctions(ByVal auction As Auction)
End Sub
Public Function GetAuctions() As Data.DataTable
Dim AuctionsTable As New AuctionSiteTableAdapters.AuctionsTableAdapter()
Return AuctionsTable.GetAuctions()
End Function
Public Function GetAuction(ByVal AuctionID As Integer) As Data.DataTable
Dim AuctionsTable As New AuctionSiteTableAdapters.AuctionsTableAdapter()
Return AuctionsTable.GetAuctionByID(AuctionID)
End Function
Public Function SearchAuctions(ByVal SearchString As String) As Data.DataTable
Dim AuctionsTable As New AuctionSiteTableAdapters.AuctionsTableAdapter()
Try
Return AuctionsTable.SearchAuctions("%" + SearchString + "%")
Catch
Return New Auction("No Matching Records!")
End Try
End Function
Public Function GetAuctionsByDate(ByVal StartDate As DateTime, ByVal EndDate As DateTime) As Data.DataTable
'If My.User.IsInRole("Admin") Then
If StartDate < EndDate Then
Dim AuctionsTable As New AuctionSiteTableAdapters.AuctionsTableAdapter()
Dim dt As Data.DataTable
dt = AuctionsTable.GetAuctionsByDate(StartDate, EndDate)
If dt.Rows.Count Then
Return dt
Else
Return New Auction("No Matching Records!")
End If
Else
Return New Auction("Dates must be in order!")
End If
'Else
'Return New Auction("User Must Be Logged In!")
'End If
End Function
End Class
Public Class Auction
Inherits Data.DataTable
Sub New()
Dim AuctionDataTable As New AuctionSite.AuctionsDataTable
For Each col As System.Data.DataColumn In AuctionDataTable.Columns
Me.Columns.Add(New System.Data.DataColumn(col.ColumnName))
Next
End Sub
Sub New(ByVal ErrorString As String)
Me.New()
Me.Rows.Add.Item(3) = ErrorString
End Sub
End Class
But when i debug i get this!
Server Error in '/Auction3' Application.
--------------------------------------------------------------------------------
Cannot create an abstract class.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.MissingMethodException: Cannot create an abstract class.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[MissingMethodException: Cannot create an abstract class.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +268
System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
System.Web.UI.WebControls.ObjectDataSourceView.BuildDataObject(Type dataObjectType, IDictionary inputParameters) +39
System.Web.UI.WebControls.ObjectDataSourceView.ExecuteInsert(IDictionary values) +270
System.Web.UI.DataSourceView.Insert(IDictionary values, DataSourceViewOperationCallback callback) +72
System.Web.UI.WebControls.DetailsView.HandleInsert(String commandArg, Boolean causesValidation) +390
System.Web.UI.WebControls.DetailsView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) +602
System.Web.UI.WebControls.DetailsView.OnBubbleEvent(Object source, EventArgs e) +95
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
System.Web.UI.WebControls.DetailsViewRow.OnBubbleEvent(Object source, EventArgs e) +109
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +115
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +132
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +177
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
I wish someone could help me and i wish everyone a safe and happy holliday
|
|
|
|
|
Could you please post this with correct format ? Its very difficult to read out for me .
|
|
|
|
|
Not understandable.
and use subject tagline which specify your problem in short.
Cheers!!
Brij
|
|
|
|
|
Hi...
Iam like to add a online chatting in my webform using asp.net with c# coding anybody give any idea to me...its like a gmail chatting...
Thanks.,
|
|
|
|
|
You are looking for This[^]
|
|
|
|
|
Set a javascript timer to poll a database every few seconds using xmlhttprequest. Use the Document Object Model to insert new text into the browser. You can determine what text is new using a timestamp, hash key, row count, or some combination.
|
|
|
|
|
Hi,
I want to take user's input into hindi language in textbox in asp.net.
Plz help
Regards
Jitendra
fd
|
|
|
|
|