|
Why not use the cookie to store an ID that you can use to retrieve a large amount of data from a persisted storage on the web server?
EG: store the userID in a cookie then get a bunch of data out of a database on the server?
Cheers,
Simon
"Every good work of software starts by scratching a developer's personal itch.", Eric S. Raymond
|
|
|
|
|
I have one a Lan (Client - Server), and I want update file everyday, but I don't know how to copy one file thought Lan
please help me, thanks!!!
|
|
|
|
|
When I access the site free porn,I don't download and save file "dial.exe" but it appeared in my path "C:\dial.exe"
You can tell me why??
what script can do that? (show me this script)
thanks
|
|
|
|
|
Security holes in IE or somebody else have been using your computer
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
J.-C. Gauthier - http://www.grandmenhir.com/
|
|
|
|
|
¿How would a asp.net page could send a instant message to ICQ, Aol, yahoo messenger o microsoft messenger?. I don't even have idea how to do it form a windows form... ¿Any suggestion? ¿Anybody knows where should I look to solve this?...
Reality.sys is corrupted!
Reboot the universe Y/N?
|
|
|
|
|
You would have to download the SDKs for these IM services. I know that MSDN provides the Messenger SDK off of the SDK portion of thier site. However, I don't know about AOL, Yahoo, or ICQ.
David Stone
dstone@newcenturytitle.com
MEEKNESS, n. Uncommon patience in planning a revenge that is worth while.
The Devil's Dictionary, Ambrose Bierce
|
|
|
|
|
Where do you store your db connection strings? I have been placing mine under appSettings in the web.config file and accessing it through ConfigurationSettings.AppSettings.
A recent security breach has left me wondering though. Anyone have thoughts on the matter.
|
|
|
|
|
Mark Nischalke wrote:
I have been placing mine under appSettings in the web.config file and accessing it through ConfigurationSettings.AppSettings
that´s where I put them too...
Mauricio Ritter - Brazil
Sonorking now: 100.13560 Trank
The alcohol is one of the greatest enemys of man, but a man who flee from his enemys is a coward.
|
|
|
|
|
There are several example of this in MSDN. I have now reconsidered this though. My hosting service uninstalled .NET from their servers which left all the files, including the web.config, downloadable by anyone who cared to enter them in the navbar.
I have since created a dll to place the settings in. People can still download it if the site is exposed again, but it will be harder to decompile then reading an xml document.
|
|
|
|
|
I use a system DSN in web.config
<appSettings>
<add key="DsnMyDB" value="Provider=MySQLProv;Data Source='DSN=MyDB'" />
</appSettings>
and then access it from code with
ConfigurationSettings.AppSettings["DsnMyDB"];
<b>Todd Smith</b>
|
|
|
|
|
Several controls on my UserControl have little red exclamation point icons over them. Hovering over them, or clicking them (with either mouse button) tells me nothing about what they mean. When I run my web page, it works fine. Huh???
Thanks in advance for any help.
Jamie Nordmeyer
Portland, Oregon, USA
|
|
|
|
|
Hello!
Is anyone familiar with how to make an ASP template site.
Would this require making an Application for IIS? or no?
Anyone have some advice or ideas?
Thanks,
-Sean
|
|
|
|
|
mrhsean wrote:
Is anyone familiar with how to make an ASP template site.
Would this require making an Application for IIS? or no?
The common way is to use INCLUDE files.
You have your template code in seperate INCLUDE files which are then included into the content pages.
e.g.
Your template files:
header.asp
<html>
<head>
<title><%=strTitle%></title>
</head>
<body>
menu.asp
<table align="left">
<tr>
<td>
<a href="default.asp">Home</a><br>
<a href="about.asp">About</a>
</td>
</tr>
</table>
footer.asp
<p>Copyright Joe Schmoe</p>
</body>
</html>
Now your pages:
default.asp
<%
Dim strTitle
strTitle = "Home"
%>
<!-- #include file="header.asp" -->
<!-- #include file="menu.asp" -->
<h1>Welcome to my page</h1>
<p>Hi, blah blah balhb albhablahb</p>
<!-- #include file="footer.asp" -->
about.asp
<%
Dim strTitle
strTitle = "About"
%>
<!-- #include file="header.asp" -->
<!-- #include file="menu.asp" -->
<h1>About Us</h1>
<p>Hi, blah blah balhb albhablahb some other content</p>
<!-- #include file="footer.asp" -->
The above will have two content pages called about.asp and default.asp. Both use the header.asp, menu.asp and footer.asp template files which wrap around the individual content for each page.
You can then edit the menu.asp file and it will be reflected in both the home and about pages.
Hope that is what you meant by templates
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
The greatest thing you'll ever learn is just to love, and to be loved in return - Moulin Rouge
Tim Smith wrote:
Over here in the third world of humor (a.k.a. BBC America),
peterchen wrote:
We should petition microsoft to a "target=_Paul" attribute.
|
|
|
|
|
I create one TextArea in FrontPage and set it :
...
One
Two
Three
....
I want that, when choose one option and click submit, it will link to my data on my hard disk
help me...
thanks !!
|
|
|
|
|
i want to know where can registry free homepage account!
i need a free web space (3-10MB)
please introduce me some.... thank you!
|
|
|
|
|
|
How do you display 25 messages per page in this forum?
|
|
|
|
|
i think we can't change this set!
i can't find some option to change this...
|
|
|
|
|
Use the combo box at the top of the messages, I use DHTML view and I get the option to change to 25 messages.
Michael
|
|
|
|
|
I know that... DHTML and stuff... but how that thing WORKS ?!
|
|
|
|
|
I am trying to populate a textbox that has the password type set. I want to put junk in it so it looks like there is something there, not the correct password of course. It doesn't seem to matter if I add text in the html
<asp:textbox runat="server" type="password">Junk Here
or assign it through code
txtPassword.Text = "Junk Here";
When the control is rendered it is empty. Is this by desing or am I missing something? I just want some placeholder characters.
|
|
|
|
|
Hmm.... as I remember you need to use "value" property, like:
<input type=password value="Jank here">
Maybe it changed in .NET? Dunno
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
Need Web-based database administrator? You already have it!
|
|
|
|
|
That's the ticket. Curious that value isn't a recognized attribute for a textbox control but it puts the text in, where as the text property does not.
|
|
|
|
|
I want to create my own file type, which when requested by the web server is handled differently than simply sending its data to the client. It should pass through either a ASP.NET page or an application, which transforms the file (which is actually an XML file) according to an XSL stylesheet, on the server side, and sends the resulting data to the client as if that was the data the file actually contained.
I've looked into the IIS Manager applet, and what I'm looking for seems to be in here: Expand Web sites, right click default web site, choose properties, choose home directory, click configuration.
So, it looks like I need to write an application. A dll, actually. Problem is, how? How do I recieve the data I need (the filename of the file to transform), and give back the data I want to give (the transformed XML)? Perhaps I get passed a HttpRequest and HttpResponse object, that I Response.Write() to? So what does my Main() look like?
Can I even do this with a managed DLL? All the ones on that list don't seem to be, as I can't ildasm.exe them.
Someone must have done this before. Help?
-Domenic Denicola- [CPUA 0x1337]
MadHamster Creations
"I was born human. But this was an accident of fate - a condition merely of time and place. I believe it's something we have the power to change..."
|
|
|
|
|
Create an HTTPHandler, and use web.config to assign it to the extension:
[In Web.Config]
<httpHandlers>
<add verb="*" path="*.CustomExtension" type="MyHandler.ExtensionHandler, MyHandler" />
</httpHandlers>
[In ExtensionHandler.cs]
using System;
using System.Web;
namespace MyHandler
{
public class ExtensionHandle : IHttpHandler
{
public void ProcessRequest(HttpContext context) {
HttpResponse Response = context.Response;
HttpRequest Request = context.Request;
}
public bool IsReusable {
get {
return true;
}
}
}
}
If you're just transforming XML files, you may want to look at the XSLISAPI filter from MS, which does exactly that.
|
|
|
|