|
This violates security policies set by JavaScript. NS will let you have it; however, if requested. With IE, AFAIK you're out of luck when getting URLs more than one deep unless you invisibly track this with fames or something.
In NS...
<script>
netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");
history.previous[1];
history.previous[2];
...
</script> BTW, you better not use this info for anything malicious!
Jeremy Falcon
Imputek
<nobr>"C# is the answer to a question nobody asked." - Chris Losinger
|
|
|
|
|
Thanks. That's what I thought the answer would be. I just writing some CGI programs, and wanted to cut down on the parameter list. Ahh well.....
I feel like I'm diagonally parked in a parallel universe
Jeremy Davis
http://www.astad.org http://www.jvf.co.uk
|
|
|
|
|
|
I am developing a Web Image Viewer so that our customers can view images that we have scanned for them from anywhere.
I am trying to access the image (jpeg) files that are stored on another machine on the network from my ISAPI extension but I cannot.
I have shared the Image folder, giving permissions to everyone, and have mapped a drive letter to it on the local machine, so the path to the Images looks like:
V:\Images\Archived\fiename.jpg
I have trapped the System error message, using FormatMessage( )and get "Access Denied".
If I have the Images on the same machine as the Web Server, it works OK e.g. D:\Images\Archived\filename.jpg
Any ideas??? Any help would be greatly appreciated.
Many thanx.
code dope.
|
|
|
|
|
|
thanx...I'll give it a go.
code dope.
|
|
|
|
|
Hi,
I'm writing a ISAPI program for a company project. The project requires that I don't use a database to save the user input. Instead I want to write the user data into a disk file on the server using CFile, is this possible?? I tried using CFile and writing it into a directory on the server that has write permissions, however all I get is a Exception in filecore.h.
Thanks for your help!!
|
|
|
|
|
Hello,
I have a rather nasty problem. I have an aspx page. This page loads an web user control using LoadControl. The control that is loaded also does a loadcontrol to load another control. And then this Control does again a loadcontrol. The Controls contain tables. By using findcontrol I can find the right tablecell to add the control to. On of the controls that is loaded by antoher control contains a checkbox, and when this one gets loaded I get an error saying that I must have a form with runat-server attribute. This is ofcourse present in the aspx page that starts all the dynamic loading.
so, summarized:
I have ControlA, ControlB, and ControlC
My aspx page loads ControlA, ControlA then loads ControlB and finds the right cell to add to the control colletion of that cell. Then ControlB loads ControlC and does also a findControl, but since ControlC has a <asp:checkbox runat="server"/"> the error "Control '_ctl0__ctl0__ctl1__ctl0' of type 'CheckBox' must be placed inside a form tag with runat=server. " occurs.
Is there a solution to this problem?
grtz
Henk
|
|
|
|
|
This is not really a strictly topical question, but this seemed the most appropriate forum to use.
I need a regular expression that would fail if a string:
a) contains white space
b) contains any non-textual character or 0-9 (i.e. not a-b, ê..., etc)
I have figured it out for white space, 0-9, and a-b, but cannot for the life of me figure out the last part. I have read more documentation than most people read books in a month and I just don't get it. How?
Is the only way to use a really long [abcde....êçå...]?
One 18yrs male, red and white, good condition; daily servicing required. £500 collect ono.
|
|
|
|
|
Can't you simply do the following?
[a-zA-Z\xC1-\x259]+ , or whatever range you need? I'm not sure I'm understand the question entirely, but I think this is how you'd do it. Don't know what Regular Expression parser you're using, but Javascript only supports the standard ASCII set (0x00 - 0xFF).
Hope this helped.
Jamie Nordmeyer
Portland, Oregon, USA
|
|
|
|
|
Where is that darned :idiot: iocn when you need it?
Thanks for slapping me into gear!
One 18yrs male, red and white, good condition; daily servicing required. £500 collect ono.
|
|
|
|
|
I am currently trying to develop the website design area of my own company. In order to be able to do this realistically I need some good reference sites.
With this in mind I am currently offering a limited time, free web site design service. Go to http://www.salamandersoftware.biz/services/freeweb.htm and fill in the form or send an email detailing your requirements to freeweb@salamandersoftware.biz.
The offer will probably be open for a week or two and I will then review the submissions and choose probably four or five sites to develop. I'm looking for a good mixture, so low-graphics, database-driven, graphical UI, etc. Let me know what you're looking for (possibly with URL of sites you like the look-and-feel of) and I'll see what I can come with
This offer is limited to the initial web site design and implementation and does not include ongoing maintenance or re-design. Submission of a design request does not guarantee acceptance under this offer, though all requests will be reviewed.
Derek Lakin.
I wish I was what I thought I was when I wished I was what I am.
Salamander Software Ltd.
|
|
|
|
|
1. Allow the user to use 2 windows of the same screen
at the same time with the same session, what
application issues would crop up and would you handle
it?
2. Allow the user to use 2 windows as above expect
that the screen instances will work off different
sessions
3. How do you programmatically create and delete
sessions?
|
|
|
|
|
1. Allow the user to use 2 windows of the same screen
at the same time with the same session, what
application issues would crop up and would you handle
it?
2. Allow the user to use 2 windows as above expect
that the screen instances will work off different
sessions
3. How do you programmatically create and delete
sessions?
|
|
|
|
|
Is there a function to perform navigation to a different frame?
I am talking about something like "Server.Transfer(...)", but one that also takes as a parameter the target frame.
Thanks
|
|
|
|
|
Has anyone either written the ASP specification in EBNF or knows about someone who has? I would be very grateful if anyone could point me towards any resources regarding this.
With best regards,
Daniel
Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!
|
|
|
|
|
I want to catch mouse over event for ASP.NET datagrid.I think I should handle some java code.Is there any suggestions?
Mazy
"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"Kryptonite-3 Doors Down
|
|
|
|
|
Try this one:
<asp:TemplateColumn>
<ItemTemplate>
<span onmouseover="--your_javascript_code--">
--your_content--
</span>
</ItemTemplate>
</asp:TemplateColumn>
Enrico
|
|
|
|
|
I've just upgraded to XP Pro/IIS from Win98/PWS. I put my website in wwwroot, changed the permissions on the database folder to 'read and write' so I can modify my databases (Access 2000). But alas, I get a 'query must be updateable' error!
I went into the wwwroot folder using explorer and went to the databases folder's properties. I don't have a 'security' tab (Am I supposed to? I do on W2K) and I can't uncheck the readonly option!
My queries are like:
UPDATE table SET field1='value1', field2='value2' WHERE ID = myid
INSERT INTO table (field1, field2) VALUES ('value1', 'value2')
Has anyone had any problem similar to this or have any ideas? I'm stuck.
- X
|
|
|
|
|
Xavier Shay wrote:
I don't have a 'security' tab (Am I supposed to? I do on W2K) and I can't uncheck the readonly option
I'm in my W2K now but as I remember you have to go to
folder options--->View
Then I think one of the last options change the simple security to other ones,then you have 'security tab' in xp too.
Mazy
"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"Kryptonite-3 Doors Down
|
|
|
|
|
You're exactly right, thanks
- X
|
|
|
|
|
Yep, Mazdak is right, I'm replying just to say - I remember how I spent a whole day trying to find where the damn security tab is in XP, lmao. Nostalgy
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
|
|
|
|
|
Xavier Shay wrote:
). But alas, I get a 'query must be updateable' error!
I went into the wwwroot folder using explorer and went to the databases folder's properties.
Have you set up your DB connection using ODBC? Putting your database in the wwwroot folder and hard coding the path is not a good idea. The reason I suspect you are getting this error is because you didn't set up connectivity with ODBC, and your database has a security level that is higher then the default IIS account so it won't allow read/write access. To change this either 1. Set up a ODBC connection(the right way) or 2. make your Access Database security level one that the default IIS account can use(the dangerous way).
|
|
|
|
|
I have to upload my site to a remote server which I don't have much control over, and as such I don't think I can use ODBC connection names (I don't know much about them, correct me if I'm wrong). I have the databases stored in a subdirectory (wwwroot/databases) and I am going to try and change the security permissions on this database. I'm not the right comp to try this now (it's at work) but I'll post what code I'm using as soon as possible.
Thanks for your help
- X
|
|
|
|
|
i want to destroy the application variables at anytime, can i do it and how?
|
|
|
|