CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > starter_kits_and_source_projects..text_blogs Tags:
Item Type: Date Entered: 3/29/2004 3:44:32 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 35 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
"leihan" <>
NewsGroup User
UseWWW useless?3/29/2004 3:44:32 AM

0

In fact, in many pages Scott hard-coded Urls. For example, in RecentPost.ascx(some controls and pages also), you can find a method like this:

protected string GetFullUrl(string x, string app)
{
if(appPath == null)
{
appPath = Request.ApplicationPath;
if(!appPath.ToLower().EndsWith("/"))
{
appPath += "/";
}
}
if(host == null)
{
host = Request.Url.Host.ToLower().Replace("www",string.Empty);
}
return string.Format(fullUrl,host,appPath,app);
}

So you will never get urls with "www" in some pages. :)

To solve this issue, remove "Replace..." after ToLower() method.
"scottw" <>
NewsGroup User
Re: UseWWW useless?3/31/2004 12:52:19 AM

0

The aggregate site pages/controls are really just reference material. They do not live the ".Text Life".

-Scott
"grant" <>
NewsGroup User
Re: UseWWW useless?3/31/2004 1:42:28 AM

0

Not yet, Ricky Martin. :)
I'm Idaho!
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:













gridview update problem

downloading a file from a database

refresh part of the page

need concise definitions for .aspx and .asmx

how to give my app a pair of p.f. flyers?

set the width of image

querystrings in c# code behind

where is the asp.net program

insert datetime record in db table?

cant configure my .net to debug

email blast tools

activex object in c#

intellisense description for my methods

the server committed a protocol violation. section=responsestatusline

link button forecolor(so simple yet so hard)

writing data to text file at fixed positions

object records set help???

automatically detect time in asp.net 2.0

send email using exchange server

smtpmail stopped working after install of firewall and router

how can i check if my web can be accesed from outside my network?

how do i make object list items as links?

url parameters

ftp and mvs variable block files

scraping web pages

best control for e-commerce

performance issue

home server (dyndns) ??

user's local time

can i call a method inside script tag?

what what is hash code

update to asp.net 2.0 nightmares?

remote directory structure

using asp:hiddenfield

website project question

connection string help! - trying to create new users on go daddy hosted site

button for printing

free sample questions for mcad c# web app. developer(70-315)

application state question

ascx accessing session variables

auto-schedule a page to run... is it possible?

server control not shown on browser

databind only if a certain table exists

problem in getting selected checkboxlist in next page

global.asax + handle exception

iis -- virtual directory

not returning correct values

tricky.. please help me!!

i really don’t know when it’s good practice to create a component class

.net college level course wanted

   
  Privacy | Contact Us
All Times Are GMT