|
You keep asking this over and over. The answer is, if you want your page to be secure, you have to host it yourself.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Christian Graus wrote: You keep asking this over and over
Oh, he's one of those "I'll keep asking my question over and over until I get the clue" kind of people
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Looks that way. Plenty of those about, it seems.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
mohandesmehran wrote: Hi. I have a program that Shows DLL content.
Check whether you have enabled "Directory Browsing" option. I believe, if you turn it "off", you will be all set.
|
|
|
|
|
ROTFL. Well, if he hosts it on his own server, perhaps.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
how can I retrive User Ip Address in asp.net pages?
|
|
|
|
|
You won't be able to do so for a specific computer, you will get the router's ip only.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
Try this,
Request.ServerVariables("REMOTE_HOST")
|
|
|
|
|
Response.Write(Request.UserHostName.ToString());
|
|
|
|
|
so thanks.
best regards.
mehran asghari
|
|
|
|
|
OK. So i'm dealing with the ASP.NET membership systems right now and i'm writing a page for activating a user based on the code and the username supplied in the query string.
What I need to do is check to see if the username supplied exists in the users table.
The only way I can think to do this, is get a collection of all the users in the database, and see if it's in the collection. 2 problems with that though:
* I don't know how to do that (yet)
* It will be really slow when the database gets bigger
Is there any other way to do it? And could somebody show me how to check if something is(or in this case isn't) in a collection using an if statement (I want to do "If value isn't in collection, do error page")?
Don't you just hate coming up with something to put here?
|
|
|
|
|
Bursh. wrote: It will be really slow when the database gets bigger
Not really at all. We do this kind of thing all the time without any ill-effects.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
aah right. Thanks for clearing that up for me. That was my (educated) assumption. So can anybody show me how to do this?
Don't you just hate coming up with something to put here?
|
|
|
|
|
I've done just the basic table with username/password.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I need to know how to check that the user exists! Not what tables you have.
Don't you just hate coming up with something to put here?
|
|
|
|
|
Bursh. wrote: Not what tables you have.
Huh? You have to have the users stored somewheres in a table. You query the username/password and if it returns with nothing, then user doesn't exist.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
I do. I have them stored in the tables created by the asp_regsql tool. I need to know how to query it and check if it returns null
Don't you just hate coming up with something to put here?
|
|
|
|
|
by clicking one button in parent window the popup is opened and now on clicking on the popup button the parent window another button event has to call how could be possible.
|
|
|
|
|
If you're writing in VB you could do something like this in your on click sub:
<br />
Dim intActionNo As Integer = 0<br />
<br />
Select intActioNo<br />
Case 0<br />
'Do first action<br />
intActionNo = 1<br />
Case 1<br />
'Do second action<br />
intActionNo = 2 'Or alternatively revert to 0<br />
End Select<br />
Hope that helps
Don't you just hate coming up with something to put here?
|
|
|
|
|
You need to use Javascript for that. You can access the opener object. then, get the object of DOM and then, fire the click event.
For example ~
window.opener.document.getElementById("yourbtn").click();
Just an example. there might be typo error so you need to find the correct syntax based on this concept.
|
|
|
|
|
iam having a grid view with three columns where the last coumn is hidden i want this column value must be show in a tool tip when the mouse goes to the gridview second column
|
|
|
|
|
So what you need to do is define the text in a label, and add the text you want to show, as a tooltip on that label.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I am developing a webproject in C#.net using .net2005.
My project contains two pages. First page displays data from the database in a datagrid view. when i double clicks a row in the datagrid it directs to the second page.
for this i am writing the following code in the rowcreated event of the datagrid.
e.Row.Attributes.Add("ondblclick", String.Format("window.location='" + Columns[i].ToString() + "'"));
here the arraylist Columns contains the following sample data
Columns.Add( "frmOtherPage.aspx?ListType=Empty&ViewType=Invoice&UniqueId=" + uniqueid.ToString());
In the datagrid i am not displaying this unique id.
on double click of the row i am getting the uniqueid of that particular row in the second page.
In second page i am displaying the data of the selected row in detail and diplaying the sub activities of this row in a data grid. In this grid also i am not displaying the activityid.
Here i have to display some controls to create a new sub activity. I am placing all these controls in a panel and displaying (.visible = true) them when user clicks the create sub activity button.
Here what i want is, on doubleclicking a row on the sub activities grid the panel for creating activity must be visible and i have to display the data of that row in those controls of the panel.
Please Help me. Its urgent.
Thanks in Advance
Ramu
|
|
|
|
|
Hi Everyone,
(I apologize for my terrible terminology)
Do you know when you "wave" your cursor over a photo or a url link and it appears as I would like to put it "clickable" or the cursor changes into a "hand". My issue is this, on my site I have a photo that I've changed the source code to and the photo is actually "clickable" but if you "wave" your cursor over the photo it dosen't appear "clickable" Does anyone know how I would fix that ? The source code is below.
<asp:hyperlink id="HyperLink1" runat="server" imageurl="~/Ringtone-Carrier-Photos/alltel-Complimentary Ringtones.jpg">
onClick="makeUrl('http://fbgdc.com/click/?s=8785&c=53726&subid=yahoo=flycell=alltel')"
Target="_blank"Alltell 15 Complimentary Ringtones</asp:hyperlink>
http://tinyurl.com/2tca8w (This is the page, just "wave" your cursor over the "alltell photo" and you will know what I'm talking about.)
Thanks everyone for there help.
|
|
|
|
|
Handle the onmouseover and onmouseout events and change the cursor accordingly.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|