What is the best way to "NOT" display a page directly in php?
There is a page = register.php
a user cant open register.php directly. Only can access from index.php Register.php
Thanks
I'm trying to convert a game I made (WindowsFormApplication) to an ASP Page.
My Problem is that I have a lot "private" variables in my WindowFormApplication and those variables are important for the game. But when after I Declare all my variables (in my Page_Load), they turn null no matter what I do(click a button, refresh the page).
Is there anyway to save my variables between buttons (other than Session, because I'd have to create like 6 more sessions)
I am using Jetty web server, and while loading JSP page, its getting loaded from cache and not from the server. my updated jsp page is not getting reflected. I was deleted my file and checked out from CVS also. There is no use, the same result came again.
What will be the reason ?
Thanks in advance.
i am trying to load database values from 6 - 7 tables on a single page i.e users, their post e.g with $.load(); and it is taking from 15+ seconds to load but i want to load that page from 1-5 seconds ...i know it depends on internet connection speed but how can i do that ....
Hi
Any idea how to calculate the height of auto generated child controls in fixed-page... When using ActualHeight it give 0.0....
I need to to calculate height of the dynamic content in the fixed page.
Thanks and Regards
Hello,
I have a simple hit counter written in c# .net. I placed that counter to many pages using the pageviewerwebpart. What I want to do is, not only counting the hits, but also which page triggered the hit counter. So how can I retrieve the page URL with my hit counter ?
Thanks.
I want to set label's value from popup.But label is in frame and I dont know how to achieve it from popup. From parent page,i get this label by following javascript function.
But when I use this function in popup page, I cant find topframe.Do u have any solution about how to success it?
if (window.parent.document.getElementById('lbl'))
{
window.parent.document.getElementById('lbl').innerText = sender.getSelectedItem().get_text();
}
else
{
window.parent.frames['topFrame'].document.getElementById('lbl').innerText = sender.getSelectedItem().get_text();
}
On the page load i wanna call a custom validator which validates my page and display corresponding error messages.
How can i do this?
I am using javascript in the custom validator.
I am working on a Custom WebPart, for which I need an application page to render a PDF file.
I am currently using following link
http://support.microsoft.com/kb/306654
It works fine in ASP.NET, but gives a blank page in SharePoint.
I have an aspx that has the following javascript function being ran during the onload event of the body.
<body onload="startClock();">
However, I'm setting the aspx up to use a master page, so the body tag doesn't exist in the aspx anymore. How do I go about registering the startClock function to run when the page is hit and still have it use a masterpage?
On my page, there are 2 links with the same anchor text.
I am using HtmlUnit to get the link by the anchor text.
The call to:
page.getAnchorByText("1");
Seems to always get the first occurrance, is there a way to get the 2nd occurance if there are 2 links?
hi,
i in my html page, i need to use the back button, in which i made a link and i used this
Back
but, it takes me back, and reloading to page where i was. it's not working. any help?
I have been put on to a project using Nuxeo, late in it's lifecycle and need to change a few things before it goes live.
I am having trouble finding out where I need to look to lock down a Nuxeo based application so that a user is redirected to the login page if they are unauthorised and access a restricted page.
Can someone please shoot my some direction on where this sort of logic is kept or defined?
Hi,
I currently have a JSP page with a Form for the user to enter their name, but what I want is to get the user forwarded to a different JSP page after form submission and to carry on their name to be used.
I don't want to use JSTL EL just simple JSP uses.
I was thinking of using a bean storing the detail in a session but how would it work.
Thanks.
hello
i made an HTML page with all widths and heights as percentage "that's primary for my design to work with all resolutions" but when i re-size my web browser everything will be damaged.
is there a way that when i re-size my web browser i can scroll the page ?
Thanks
Hello
I just bought new domain for my web page.
Is it good to use php redirection to the new domain and what are the exact headers that I must send to google bot to just renew the address and keep the page rank without loosing position in search results for the specific keyword ?
Regards
hi,
we are using swfupload for the sake of uploading process in our project but we need add some extra parameter and send them via swfupload to aps.net page
how can I do this?
is it possible at all to passing extra parameters to a server-side page by using swfupload?
regards.
Hi
I want to create log in page with c# asp.net.
I do it.
Now when the user is log in, I want to get user ID and use it in other page.
How can i do it?
Thank you for your help
Can anybody help me with this CSS issue. This online tutorial displays ok in FF and Chrome but in IE, the main content is pushed down the page for some reason.
Here's the link:
Problem Page
GF
Hi,
I am developing a simple email portal as my college assignment and I refer gmail for various features.Now when we sign into a gmail account and then if we hit the back button of the browser we somehow still remain on the inbox page.In my case after login if I press back button I comeback to the login page.Please suggest how can I achieve this.Also I am a newbie to ASP.NET so keep it detailed
I want to link to a plain html page from a zend_controller controlled page. I have no idea how to do this.I have tried with 'redirect(site/somedir/some.html)' but, of course, that doesn't work.
thank you
Hi,
I am trying to build a reviews and ratings page inside my iPhone application which I want to make it look similar to the AppStore's 'Reviews' page.
Any suggestions how should I go for it?
Thanks!
Hi,
my custom 404.php page is located in /includes/404.php.
My current .htaccess file does the following redirect:
ErrorDocument 404 http://imgpls.localhost/includes/404.php
So the url looks like: mysite.com/includes/404.php .
Basically I need a double redirect: 1) 404 eror page to mysite.com/404.php (so the url looks nice) 2) mysite.com/404.php to mysite.com/includes/404.php where the file actually is.
How can I achieve that? Thanks in advance.
How to check in C# if a javascript file is already loaded on to the page? Let's say I have a user control in a different namespace that I load on to a page. I would like to see if a script file doesn't exist before I register it with the scriptmanager.