|
but i need to show users in a list box too...(withput flashing the page )..urgently..the chat is part of my graduation project..plz help ..thanks for every one can help....bye
|
|
|
|
|
Hi All... Currently i am doing my banking application using ASP.Net,C#, SQL Server2000... i want some technical solution realated securities from you guys as follow..
i already logged to my application by using username and password.. after login page my home page Home.aspx coming on screen.. i have features all like Balance Inquiry, Mini Statement, Last Transaction, Private Banking, Net Banking in my Home Page in left menu side. All Features are working very well.. For Security Reason i want some technical help from all of you guys...
Problem is After my successful login page If i not touch the Home page or if i not click on any features available in home page for 10 minutes.. Like if i click on Balance Inquiry Link after 10 minutes that time Page Login.aspx want to open instead of BalanceInquiry.aspx... After my successful login by username and password i want to open page BalanceInquiry.aspx (do not want open Home.aspx Page Again)... For that what i have to do in my Application to make more secure... if u have any articles link then please send me..
Please Please Help me if you people have some technical solution... Bcz right now i am on mid way of that project... if u have any articles or articles link please help me out....
Regards,
Patel...
|
|
|
|
|
follow the teps:
1. set the session.timeout = 10 in code or in web.config
2. after login store anything in session that is unique for everyuser (probably username). In pageload of everypage check if that value still exists in session if not redirect to login page and force the session to expire using session.abandon or session.removeall you may also delete the cooki for the session.
3. use http_referer to redirect to the same page after login again (balance sheet or so..) check if referer is nothing then redirect to home page otherwise redirect to referer..
you can even give warning before expiry of session using javascript settimeout ..
-----
|
|
|
|
|
hi all,
On one page of the application validators are not getting fired.
can please any one give me clue what could be the reason?
neoms21
|
|
|
|
|
From your message it is not clear that which validation control are you using. Anyway, please make sure that you have enabled the validation control by using Enabled property. Apart from that check whether you have enabled client side validation for that page. If yes, give appropriate error message so that you will get notified.
Hope this will help you
Thanks
Rakheesh
|
|
|
|
|
i have already checked for all things mentioned. but the thing is that requiredfieldvalidators are getting fired on the development server when i deploy the application on LIVE environment validators dont work only on one page of the application. Rest are working fine.
looking for your advice.
Manoj
|
|
|
|
|
Does anyone know of any good ASP.NET 1.1 Web User Profile tutorials or articles. I'm really just looking for ground floor db schema and something that uses MemberRole.dll. Something interactive with AD. Any help in the correct direction would be greatly appreciated.
**DAN**
|
|
|
|
|
Not sure if you have checked out the MemberRolesSDK[^], and the CommunityServer[^] is a good example that you want to see how to use this library. Also, as you may already know that this library is replaced in the ASP.NET 2.O with the provider kits, so you may find the provider documentation in MSDN useful too.
|
|
|
|
|
is it possible using atlas.
|
|
|
|
|
hi,
i have my site ready for deployment. i want my site to come in first 20 results of google search engine. is it search engine optimization? plz help me out
regards,
Boon
|
|
|
|
|
There are mainly two things that decide the search result position in search engines:
1. The contents of the page.
2. Other pages linking to your page.
---
b { font-weight: normal; }
|
|
|
|
|
Is there any clientside javascript available to the gridview? I know Infragistic's has a great array of commands but, prefer to use the GridView in the app.
Is there anyway to select a row on the GridView without posting back to the server?
Michael
I firmly believe that any man's finest hour, the greatest fulfillment of all that he holds dear, is that moment when he has worked his heart out in a good cause and lies exhausted on the field of battle - victorious.
Vince Lombardi (1913-1970)
|
|
|
|
|
well you can use javascript to do it.. I have done it with datagrid and i belieev you can do the same way with gridview..
ondatabound add onclick attribute to the item (row) e.g.
simplest...
item.attributes.add("onclick","javascript:this.style.backgroundcolor=red;")
a bit complex..
item.attributes.add("id",item.clientid)
//above line is optional if you need to search by id on client
item.attributes.add("onclick","javascript:selectRow(this);")
or for double click
item.attributes.add("ondblclick","javascript:selectRow(this);")
and then in selectRow function do whateevr you want to dso on client..
-----
|
|
|
|
|
Why when send mail from localhost is still on queue folder
and not arrive to receiver
> > > I am using ASP.NET SmtpMail to send email using the following code
> > >
> > > public void SendEmail(string From, string To, string Subject,
> > > StringBuilder
> > > Message, string Attachment, string mailFormat)
> > > {
> > > MailMessage mailMessage = new MailMessage ();
> > > mailMessage.From = From;
> > > mailMessage.To = To;
> > > mailMessage.Subject = Subject;
> > > mailMessage.Body = Message.ToString ();
> > >
> > > if(mailFormat == "T")
> > > {
> > > mailMessage.BodyFormat = MailFormat.Text;
> > > }
> > > else if(mailFormat == "H")
> > > {
> > > mailMessage.BodyFormat = MailFormat.Html;
> > > }
> > >
> > > SmtpMail.SmtpServer = "10.0.0.1";//or "localhost" or "127.0.0.1"
> > > SmtpMail.Send (mailMessage);
> > > }
> > >
> > > This code executes fine without error. But the email goes and sits in
> the"C:\Inetpub\mailroot\Queue" folder.
> > > SMTP service is running and cdosys.dll and cdonts
thanks for all
|
|
|
|
|
is there any error in ur page?
coolsweety
|
|
|
|
|
afaik you your code is fine if you are getting mail in queue. to send it you have to have a live internet connection and valid smtp server. if it is in queue nothing is wrong with the code you need to check smtp server setting.. or relay options in IIS
-----
|
|
|
|
|
Hi,
I m having typeddataset with 3 tables and relations among them. 2nd datatable has some computed columns including aggregate functions based on relation with 3rd table. While I am trying to fill the data in to datatables I am getting the following exception if at all my 3rd table doesnt have any rows. I am getting this error while i am setting EnforeceConstraints of dataset to true after filling datatables. Before filling them I am setting it to false.
"Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.
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.Data.ConstraintException: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints."
Any kind of help will be appreciated.
Thanks in Advance.
|
|
|
|
|
What do your computed columns look like?
|
|
|
|
|
Hi Mike,
My computed columns in the second datatable are like:
Count(Child.detailId)
Here in second datatable I am having a column which is having dataexpression as "Count(Child.detailId)", and in second datatable itself there are some other columns which are computed based on the above calculated column.
Is there any problem with aggregate columns.
Thanks.
|
|
|
|
|
I haven't found anything definitive on this... do you need to enforce constraints? Can you get by without them? Can you get by without the computed column?
|
|
|
|
|
Hi,
I need those consdtraints should be in place and computed columns should be also there because i dont have those columns stored in database.
Thanks.
|
|
|
|
|
how can i change the url of the content page in contentPlaceholder. Currently it is now allowing to specify the url of content page.
I have a page in another folder. How can i achive this
|
|
|
|
|
In the content page's source view there should be a page directive at the top. With in the directive there should be a masterpagefile="yourmasterpage.master". If you don't have one you will need to add it and intellisense should take care of the rest. Since your content page can be in any folder with in the application, it should the be the masterpagefile tag's responsibility to point to the correct masterpagefile.
e.g. if the masterpage.master file in is the root directory, all of the contenct pages that use this master file should have the masterpagefile tag equaling "~/masterpage.master", regardless of their physical folder location.
Michael
I firmly believe that any man's finest hour, the greatest fulfillment of all that he holds dear, is that moment when he has worked his heart out in a good cause and lies exhausted on the field of battle - victorious.
Vince Lombardi (1913-1970)
|
|
|
|
|
Can u help me to find the solution that how to read a word document using filestream,when i did it is read as a binary file,but i wanted it to be read as a text file..
KRISHNA
|
|
|
|
|
The Word native format is a binary file. What specifically are you trying to accomplish?
|
|
|
|