Redirects To Home.aspx.
I' currently making a time and movement site for our department.I would like for the user to use a login page,once they log in I want them to be directed to a personnal home page that allows to add and view their current week movements.How would I proceed
I built a login page, once the login is validated it redirects to home.aspx.
In the home aspx what would the coding for the home page to retreive the date related to the particular employee without having the employee to retypr his login information in a search form.
View Replies
ADVERTISEMENT
In using a page with IFrame, I woudl like to write a line like this:
If (certain criteria met) then
response.redirect(somepage.asp)
end if
Pretty simple, except that I would like to make it to the full page. In
other words, if it were a regular HTML hyperlink, the code would be
<a href=somepage.asp? target="_parent">
Is there a way to specify targets in ASP redirects?
View Replies
View Related
Hey there. Is there any reason why redirects in my code would cause the error:
"Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked."
If that is whats causing the problems? My code has been uploaded to
http://rafb.net/paste/results/NcOw3L40.html
instead of filling this post up.
View Replies
View Related
I currently have been using something like this:
Code:
response.redirect(request.querystring("page"))
It worked fine because I didn't need to pass on any other values from the querystrings. But now, I need something that will redirect the page and pass all querystring values. I tried this:
Code:
response.redirect(request.querystring("page") & "&" & request.querystring)
But it brings me to something like this:
http://www.site.com/thepage.asp&page%3D/thepage.asp&id%3D7
instead of what I would like for it to say:
http://www.site.com/thepage.asp&page=/thepage.asp&id=7
Now.... I know that I could have written:
Code:
response.redirect(request.querystring("page") & "&id=" & request.querystring("id"))
But that won't work because I actually have many querystrings and I won't know which ones are used, etc. I want it to just transfer all the querystring data.
Oh, and if the redirect could take out the "page" querystring.. that would be great. Because I don't need it.. it is only used to know what page to go to. I just need to keep all the other querystrings.
View Replies
View Related
What would be the best way to build a little asp page that:
displays http://www.yahoo.com
waits for 45 seconds
displays http://www.google.com
loops forever
View Replies
View Related
i have a session variable that is set to 1 when the admin logs in and on the admin page i have this code . Code:
<%If Session("admin") <> 1 then
response.redirect("adminlogin.asp")
end if
%>
but it redirects me back to adminlogon even if i put the right password in, what going on.
View Replies
View Related
I have my entire ASP-driven site in a one-frame frameset to preserve a static URL in a browser's address bar. I also have a customized 404 page to redirect a visitor to the top, default frameset.
The redirect works, but the called, nonexistent URL remains in the browser's address bar. Is there any way to refresh a browser's address in the address bar to that of the site's default, frameset address? I tried using a window.location-type javascript, but the redirects get stuck in a perpetual loop.
View Replies
View Related
If I use response.redirect, is the entire page read before the page is redirected?
For example, assume I have this code where the response.redirect is located before the objConn.Close line:
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open "sampleDSN"
response.redirect("default.asp")
objConn.Close
Set objConn = nothing
Will the page redirect before the database is closed?
View Replies
View Related
If I use response.redirect, is the entire page read before the page is redirected? For example, assume I have this code where the response.redirect is located before the objConn.Close line:
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open "sampleDSN"
response.redirect("default.asp")
objConn.Close
Set objConn = nothing
Will the page be redirected before the database is closed?
View Replies
View Related
On allot of professional web sites, i have notised that When you are looking for something on the site and it needs you to login first
before you can see the content, when you do login it knows exactly where to take you before you loged in, how do they do this???
what type of code do they use??? i would love to apply it to my site.
View Replies
View Related
Does anyone have a successful experience in using XMLHTTP or ASPtear to read
a cookie on another domain? Can it be done at all using these or similar
technologies or can it only be done using the redirect trick?
View Replies
View Related
I have an asp.net page that I would like to open up another asp.net page within the first one. Like a parent - child relationship. I need to display a graph in the child on the parent.
View Replies
View Related
Is there a component I can download that will run asp on XP Home?
I have XP Pro on my home dev system but only have XP Home on my laptop
and don't really want to spend out on another XP Pro license.
View Replies
View Related
What's the best way that I will be able to code ASP on my XP Home, can I get it for free
View Replies
View Related
Our home page name is index.html index html include left and right html. so google
get left or right html. and we would like if someone click the page then
open home page. ( if opening page is not in frame then redirect
ndex.html )
View Replies
View Related
Im building a website for a mate they want a news story on the front page that is pulled through from a database.Just want to know if i can make this page called index.asp - will it be recognised as the index page?
View Replies
View Related
i have read a few articles saying that you can run IIS on XP home but it does not look too reliable to me and am not too willing to try, so is there an alternative set-up i can use to test my ASP before uploading?
i say this as all ftp hosts seem to want your code pre-tested before uploading .
View Replies
View Related
is it possible to run asp on win xp home edi? i know that it does not have the iis, but i was wondering if there is any other third party softwares that allow to achieve this.cheers.
View Replies
View Related
is it possible to install PWS on XP Home? If not, is there another way to run asp on XP Home?
View Replies
View Related
I'm running windows XP and went to add "IIS 5.0" from the add windows components but it wasn't there,does anyone here know what i should do? One more question, is it still worth learning ASP since ASP.NET came out?
View Replies
View Related
is there a way to install the IIS server on Windows XP home? Like the one you get wih Windows XP Proffesional CD. I have found this website which has a method of doing it, although it says here tha Microsoft says you need Windows XP Professional to install this and that this is only a workaround I wasn't sure if this was true or not.
The main reason I thought of this was because I would have thought Microsoft would have had a file you can download from their website or some thing like that, although I haven't found any other way of doing this yet.
View Replies
View Related
I'm looking to do custom homepages based on user login, something like googles homepage, But not as drastic. I'm not sure how i should go about this. any suggestions on the thought process would be nice .
View Replies
View Related
I have Windows XP Home edition. Is there any way I can Install IIS in my machine (without upgrading to XP Pro)? I need to run and test my asp programs utilizing MS Accsess and SQL Server.
View Replies
View Related
Could someone lead me in the direction on how to set up server on my home PC so I can view my ASP pages, rather than uploading them to host server to view. The easiest and less painful way.
View Replies
View Related
When I access a web page that adds information to a database on a PC running
XP Pro it works as it should.
When I access the same page from a PC running XP Home I get a ' Internal
server error - page cannot be dispalyed' message.
I've tried it on 5 PC's running XP Pro & 5 running XP Home - same result.
ASP code is: Code:
View Replies
View Related
I am trying to play with ASP on my home computer. I am placing a "hello.asp" page with simple code in C:Inetpub or C:Inetpubwwwroot and running it and am getting:
The page cannot be displayed. The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. I am running Windows 2000 Server, and I just stripped off Apache/ MySQL. I am not sure what I need to do to allow myself to run ASP pages on my home computer.
View Replies
View Related
I've been meaning to setup a website on my computer again. I have calbe so its a static IP
i remember I downloaded three three programs but i can't remember exactly what they were or where I got them
1.)I think i had a sql database: mysql I think
2.)Then i think i had php but where can i get that for free?
3.) finally i think i had some kinda of board program using the sql database bbforums or something
Finally, I think i found out latter that all three are available in one download that preconfigures everything (configuring the stuff was a real pain in the butt)
View Replies
View Related
Is there a way to have Personal Web Server on XP- Home?
View Replies
View Related
I'm very new to ASP, but developing a dynamic website using ASP and an Access dbase.
I've created a template page (index.asp) and I plan for this to be the only page required for the whole site as the rest of the content will be loaded dynamically based on variables in the querystring. For example, if the querystring was: index.asp?PageStr=home, the home page content would load, if it was index.asp?PageStr=contact, the contact content would load.
My question is this. If someone went to my domain xyz.com there would be no default variable in the querystring and no content would load. Is there a way round having to create two pages - a default home page and another page for everything else?
View Replies
View Related
I red a tutorial for installing IIS on windows XP HE, I bought a new
laptop with windows xp he, and i want to install iis on it, in the
tutorial i enter the system and make some changes then i add the
iis.dll and the iis.inf, anyway.. after some steps I reach to the
control panel and I have an IIS option, I thought it worked but when I
was not able to check the option in order to click next and continue
to the installation of the IIS.
I rebooted and remade the tutorial but i got the same problem - can't
check the option of the iis in the control panel "ADD/REMOVE WINDOWS
COMPONENTS" - what can i do ?
View Replies
View Related
hosted on my own IIS while developing and had no problems, but since putting the site up onto an external ISP, we have been getting server errors when trying to access the default.asp page. Clicking refresh loads the page fine (but of course, new visitors don't know this!)The address of the site is http://betweenheavenandearth.ca . If you type this address into the address bar you may recreate the error (it doesn't always occur)
View Replies
View Related
I allow my users to upload a picture from their machine to my website on the server. I know the exact name and the path of the uploaded picture in my server, is something like:
D:hostingmysitedbgraphicspicturename.gif
Then, I would like to insert this picture into my home page. How can I do that without manually download the picture from server to my machine? How can I insert a picture that exist in my server into my page?
View Replies
View Related
I have registered a domain, if i want to check my mail i had provision to go to there web server mail page from there i could login and see my emails,
i have a created home page in ASP there i had login page with username and password,
if i enter the username and password it should straight away take me to the email folder(accessing from my home page rather than going to the their web server login page)....
View Replies
View Related