Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

allia

@allia
About
Posts
26
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • RSS Date Format
    A allia

    I struck a dead end. I am looking for an elegant replacement for the ASP.NET DateTime.Now.ToString("r")); method. It returns an RSS date in the right format required by the RSS 2.0 specification. The format is as follows: Thu, 11 Dec 2003 05:00:00 GMT Does any one know of such a function in ASP/VBScript? If all fails, I would need to strip the date with DatePart ... Thanks in advance.

    Web Development csharp asp-net question

  • RSS
    A allia

    Something doesn't sit right... I noticed the RSS on codeproject and on other sites as well. It seems that it is not a static file, but instead it is generated on demand. The file is of '.asp' or '.aspx' extension. I figured it should be '.xml'. Am I wrong? What is the prefered method by RSS feeders? Also, Weird thing - I can't view the source of the RSS page on codeproject.

    Web Development tools xml tutorial question announcement

  • RSS
    A allia

    Thanks, you have been lots of help. You have ensured my understanding. Also, thank you for the link to the RSS article - I didn't notice it before. I live to code.

    Web Development tools xml tutorial question announcement

  • RSS
    A allia

    Thanks, If I was to make an RSS of the 'latest updates'. How would the dynamic rule work? When I first thought of it, it seemed like only when I press the RSS icon the file is generated - but that can't be true. It has to be generated before hand so that you can use feeders to read the data.... So when will be the right time to export the 'latest update' rss feed? Thanks in advance.

    Web Development tools xml tutorial question announcement

  • RSS
    A allia

    Does anybody know how to generate an RSS feed? As I understand it, the xml file generated is static. It is not a dynamic script. i.e., that it is generated once and then available for read by feeders. Is this true? Would I generate it each time a 'latest update' has occured? Does anyone have a sample script that generates RSS?

    Web Development tools xml tutorial question announcement

  • uploading files, ASP?
    A allia

    Hockey wrote: why you can't FOR EACH elements while using ASPSimpleupload Well you can't FOR EACH elements because the object doesn't support this property. You validate input by using the upload_component.Form methods. But I need to write about 30 lines of code to extract all data instead of using a simple FOR EACH loop... PHP is not an option since most of the code has been already written in ASP. converting the whole logic to PHP is a time hassle. Appreciate any ideas! Thanks.

    Web Development help question javascript database sysadmin

  • Dynamic Filter Form Function
    A allia

    Take a look at [Dynamic Table Filtering/Searching using DHTML and JavaScript](http://Dynamic Table Filtering/Searching using DHTML and JavaScript)[^] By Sidney Chong

    Web Development com architecture tutorial

  • Registration, Authentication, Cookies
    A allia

    just as I suspected... and thats why its only for members... Ok, so the database will hold what? 1. A separate table with userId, and a field that holds all the [articleIds-vote] seperated by comma? (and latter traversed with split?) -OR- 2. A separate table with userId, articleId, vote for each article that was voted? Which is faster, efficient and useful? Thanks in advance! I live to code.

    Web Development question database security help csharp

  • uploading files, ASP?
    A allia

    consider a FORM with a Browse for file feature, and some other FORM elements in it. Now, lets assume that some FORM processing can't be done in Javascript and needs to post the information to the server for validation. Now, if the validation failed, I would like to present the user with an option to resubmit a correction. This is where I am stuck. The free ASPSimpleUpload component doesn't let me use FOR EACH element IN... which was intended to write out all the form data (regardless of what form elements I have) to a HIDDEN INPUT field. What I wanted to achieve by this is let the user correct only the non-valid fields, and the rest remain hidden. Then, upon re-submit, the form gets processed again. 1. What happens to the uploaded file? does it get uploaded again? 2. How can I go around the FOR EACH statment and let the user enter a correction? Is there a way to do a BACK button without loosing information? Notes: -I can't install DLLs or components on the server. -The server only supports ASPSimpleUpload -splitting the form from the file upload is hazardous, since someone can start the form, enter a record in the database, and not upload files... Appreciate the help or any input on this matter. I have read all the articles regarding this issue on codeproject. Thanks in advance! Does ASP stand for Awful Server Punishment ?

    Web Development help question javascript database sysadmin

  • Registration, Authentication, Cookies
    A allia

    Ok, I am still in need of help but this is what I have so far: I have decided to encrypt the cookie data which holds only a developer_id and alias. using double encryption I can later compare if the data has been tampered with or not. votes This issue remains unresolved. How can I ensure that someone doesn't vote twice? CP rules!

    ASP.NET question database security help csharp

  • Registration, Authentication, Cookies
    A allia

    Ok, I am still in need of help but this is what I have so far: I have decided to encrypt the cookie data which holds only a developer_id and alias. using double encryption I can later compare if the data has been tampered with or not. votes This issue remains unresolved. How can I ensure that someone doesn't vote twice? CP rules!

    Web Development question database security help csharp

  • Registration, Authentication, Cookies
    A allia

    The best way I can think of is to relate my question to what codeproject does: Remember Me? After logging in, how does the system recognize me the next time without storing WhoIs data in the cookie? If I would store the developer_id one could easly make his own cookie as another developer. Storing a password is unsafe and I would like to avoid it. Vote twice on sunday When voting for an article, it is fair to only vote once. How can I ensure that? I looked in the codeprojects' cookie and didn't see any recollection of my past votes... Is there a database involved? can someone suggest a way to approach this issue? Needs I thought that it is wise to store a developer_id and alias in a cookie and that would help out when approaching FORMS throughout. With that, I would extract the necessary data from the DB - e.g. Email and "place" it where it is needed. But, as I mentioned, by just browsing the site, one can easily bake his own cookie with another existing developers' id and alias... Encryption If by now you are thinking why not use encryption, then do you know of a good encryption algorithm for ASP (NOT .NET) ? Thank you.

    ASP.NET question database security help csharp

  • idiot question...
    A allia

    glad to have helped ;) I live to code.

    Web Development question javascript com

  • idiot question...
    A allia

    try using dtext = text.replace("\r\n","\n"); or use dtext = text.replace(/\r|\n|\r\n/g, ""); I live to code.

    Web Development question javascript com

  • Resizeable iframe
    A allia

    This is out of the blue but have you considered putting an IFrame inside a frame? set the iframe to width=100% and have the frame as your border... I don't know if that will work or even if you want to use frames..

    Web Development question

  • Registration, Authentication, Cookies
    A allia

    The best way I can think of is to relate my question to what codeproject does: Remember Me? After logging in, how does the system recognize me the next time without storing WhoIs data in the cookie? If I would store the developer_id one could easly make his own cookie as another developer. Storing a password is unsafe and I would like to avoid it. Vote twice on sunday When voting for an article, it is fair to only vote once. How can I ensure that? I looked in the codeprojects' cookie and didn't see any recollection of my past votes... Is there a database involved? can someone suggest a way to approach this issue? Needs I thought that it is wise to store a developer_id and alias in a cookie and that would help out when approaching FORMS throughout. With that, I would extract the necessary data from the DB - e.g. Email and "place" it where it is needed. But, as I mentioned, by just browsing the site, one can easily bake his own cookie with another existing developers' id and alias... Encryption If by now you are thinking why not use encryption, then do you know of a good encryption algorithm for ASP (NOT .NET) ? Thank you.

    Web Development question database security help csharp

  • Ants
    A allia

    I found it useful to keep honey and sugars inside a water filled container. They don't approach it if they know the risk... Did you know that the ants follow each other by using pheromones? Each ant lays down some pheromone when it searches for food. The pheromone disolves in time. Once an ant finds food, it uses the trail back and enhances the pheromone. This way, new ants, follow the latest and richest pheromone trail. I find the ants useful. They clean up. They are smarter than any AI program I have ever written ;) I live to code.

    The Lounge tutorial question

  • UL text color and CSS problem.
    A allia

    oh, sorry - add li after the ul or in a separate block The following work on my IE: li{ list-style-type: cirle; font-size:medium; color:#3C81D0; } ---OR --- ul li{ list-style-type: circle; font-size:medium; color:#3C81D0; } I live to code.

    Web Development question html css help

  • Viewing Files From Access Database
    A allia

    A simple SQL SELECT statement would do. Dim sql sql = "SELECT the_file_field FROM your_database WHERE some_condition" ' Create a RecordSet Object Dim rs set rs = Server.CreateObject("ADODB.RecordSet") ' Retrieve the records rs.Open sql, Connection, adOpenForwardOnly, adLockOptimistic 'write it Response.write rs("the_file_field") Note: you need to open connection, check EOF, close connection. I reffer you to Chris Maunder's [Article on Accessing Microsoft Access databases in ASP using ADO](http://Article on Accessing Microsoft Access databases in ASP using ADO)[^] I live to code.

    Web Development question database

  • UL text color and CSS problem.
    A allia

    Hmmm, wouldn't color:#3C81D0; work? there is an "=" sign there that should not be. Or am I wrong? Also change it in the body tag and add ";" at the end. I live to code.

    Web Development question html css help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups