VS 2010 - Website Time Out

Apr 16, 2012

I am wondering how I could implement a timeout feature in my website when after a period of non-inveracity from the user for example 20 minutes then this will redirect back to a timed out page? I'm using VB 2010

View 1 Replies


Similar Messages:

Visual Studio 2010 - Site Upgraded VS08 - VS10, And Now Compile-time Errors Do Not Show Until I Request The Page At Run-time?

Mar 11, 2011

I have an ASP.NET website that worked fine using and debugging in VS2008. I went through the upgrade process opening the solution in VS2010. I can run the site, but as I make changes in the app_code folder classes, they don't seem to commpile and warn me of compile-time errors. As soon as I get to a point that calls the class, the errors show up. Sounds JIT I guess, but this isn't how it was working in 08. Is there an option that was changed in the upgrade process? This is a large project, I really don't want to break something and not find out until some obscure page is opened.

View 1 Replies

C# - Can Force A Website To Show Time In A Specific Time Zone

Apr 6, 2010

I have a client request that all times be displayed in Pacific Time Zone, regardless of client settings. I'd like to avoid a scenario where I have to call a function for every time display and instead have a single point where I can make the switch.

I'm thinking a custom culture might do the trick, but I wanted to ask before I set off down a potentially blind alley (or miss something trivially easy).

View 3 Replies

Visual Studio :: Save 2010 Express Website To 2008 Express Website?

May 11, 2010

I started working on a website using 2010 Express. However, the hosting company that I am using hasn't fully implemented .NET 4.0. I'm wondering if there is a way that I can save my website for compatability with 2008 express. Then I can finish and publis using 2008 Express.

View 1 Replies

VS 2010 - Convert Time From Military To Am / Pm

Nov 4, 2011

I have a timestamp that's 13:11:13 and I want it to say 1:11:13 P.M. No biggie - I can convert this myself easily (if >12 subtract 12 and append P.M. otherwise leave alone and append A.M., I guess...) but I thought I'd find a method somewhere. Is there any?

View 2 Replies

VS 2010 - Inserting Time From DropdownList

Apr 19, 2012

I'm trying to add a time to my database that a user picks from a drop down list but it's proving problematic. Below is the code for the drop down list and the Linq code for adding the selected time to the database.

Drop Down List:

<aspropDownList ID="cboTime" runat="server" AutoPostBack="True">
<asp:ListItem>09:30</asp:ListItem>
<asp:ListItem>10:00</asp:ListItem>
<asp:ListItem>10:30</asp:ListItem>
<asp:ListItem>11:00</asp:ListItem>
<asp:ListItem>11:30</asp:ListItem>

[Code]...

The Error I'm Getting:

Value of type 'Integer' cannot be converted to 'System.TimeSpan?

The datatype is Time in the database.

View 1 Replies

VS 2010 Windows Authentication - Session Time-out?

Sep 20, 2010

Does Session Time - out is applicable ing Windows authentication?If so, in what event can i capture this?

View 6 Replies

VS 2010 - Update Form In Real Time

May 26, 2012

I have a webform that has a button. When the button is clicked, it gathers some records from a database and is supposed to update the UI with each record pulled. But for some reason, the UI only updates when the operation completes. I've posted the markup below. I can post the code if needed.

ASP.NET Code:
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
        <p>
            <asp:Button ID="btnStart" runat="server" Text="Start" Width="94px" /></p>
            <table style="width: 99%;">

[Code] .....

View 1 Replies

Visual Studio :: Cannot Save File More Than One Time In 2010 Express

Mar 20, 2010

I have a ftp directory, which is not an asp.net applications, it's regular asp, and I'm just trying to use 2010 express to modify those files. (the ftp server uses active mode ftp if that makes a difference) I can connect, open the files, and edit them. Below the X is the file name of the file I'm editing.

After I save them once it starts to say "confirm save to web server" A more recent version of the file X has been saved to the web(the time I saved), do you want to replace the server files with your local file? I hit yes then get an error box. Cannot save the file X to the web server. The file X has been modified by (unknown) on date -400

View 1 Replies

VS 2010 Adding Script To Page Clears Design-time View?

Nov 16, 2010

I have a very strange problem with my website... I created a rather large page, consisting of a few tables with some labels and textboxes where the user can enter a mechanical car setup (it's for a racing game).

I was working with simple textboxes previously, but I recently switched over to a NumericBox control which should allow only numeric input using some client-side javascript. The NumericBox control is simply a UserControl with a single TextBox on it, and some client side events are added to this textbox which call methods from a single javascript file ("Scripts/numericValidator.js")

When I put a couple of these boxes on a page it works just fine, I can only enter numbers. For it to work though I need to add the script to the page and I do that using this line, either in the head content or in the body content controls:

asp Code:

<script src="../../Scripts/numericValidator.js" type="text/javascript" />

(the path is chosen with the 'Pick URL' dialog so it should be alright, and it does indeed need to go up two directories first as the page is in the '~/Pages/RequireLogon" directory) However, after replacing most of the textboxes on my large page with NumericBoxes, and adding this script line to my aspx code, the design view is 'broken'. I cannot see any of my controls anymore, and I cannot even put any new controls on there. It seems like the Content control is missing, even though it's still there just fine without errors in the aspx code.

When I remove the script line, the problem is fixed again, the controls re-appear. So it's definitely the script line causing the problem, but I cannot see how it could...I tried it with a new blank page and the problem appears there too. If I use this simple page with just a button:

[Code]....

[Code]....

View 6 Replies

Visual Studio 2010 - Upgrade Seems To Be Taking A Very Long Time To Start?

Oct 13, 2010

At work I'm tryhing to upgrade an ASP.NET 2.0 app (which we wrote using VB.NET 2005) to ASP.NET 4.0. I had a few problems during the upgrade, but eventually worked them all out. At the end of the day I decided to give it a quick compile and see if I'd get the start page, so I hit F5 in VS 2010. I left it that way, and man was it acting weird. VS 2010 wasn't responding to anything. If I hovered the mouse over VS 2010's minimize or close buttons, in the upper right corner, then those buttons were flashing very rapidly. I'm not sure what was going on. After waiting 15 minutes to see if it would come up, I decided to try clicking on the close button. Nothing happened. Eventually, I had to leave (I take public transit, and I have to leave when the bus comes)But what I want to know is this, is this pretty standard behavior? Does it normally take this long to do this? This website is of modest size (<100 pages).

(Later) When I came into work today, 8 hours later, VS 2010 was still doing whatever the heck it was doing, but basically it wasn't responding to anything.

View 1 Replies

VS 2010 - Execute Inline Server Code Every Time Page Is Displayed

Mar 9, 2015

I'm wanting to insert some javascript in the body of a page using ClientScript.Register..() when a user returns to it (either by back button or on link click). When I use the back button the inline server script is never hit in debug. Any way to get the server to evaluate the code every single time the user is directed to that page.

View 1 Replies

VS 2010 - DropDownList On Website

Apr 13, 2012

I have a drop down list on the website I'm currently working on and would like to filter the results displayed based on the logged in user.An example of what I'm wanting to do is, lets say Jane's logged into this site when she clicks onto the drop down list it will only display items based upon what is associated with her login name on the table I'm pointing this drop down list to. I'm linking this drop down list up using a Linq DataSource.

View 3 Replies

VS 2010 - Limiting Viewing Time Of Videos On Vimeo (Cutting The Video Short)

May 24, 2012

A customer has a site written in ASP.NET and C# (.NET4 VS2010). I have been asked to link videos into some pages. The videos are hosted on vimeo and are flagged as private so general public can not view them (on vimeo.com). The user has stipulated that if an unregistered user (unregistered on the customers site) views a video they should only see the first 5 minutes. After those 5 minutes they should be prompted to register or log in. I'm fine with forms authentication in ASP.NET.

At this stage I do not know what type of account the customer has on vimeo, I am waiting for that information. I do not have any code examples to add.

Ideally I need to prevent users from downloading (either directly or by some other way) videos maybe by obfusticating the actual urls in some way.

What I was wondering is if controlling the length of a video being viewed from vimeo, especially in the registered/unregistered user context on an ASP.NET site.

View 2 Replies

VS 2010 How To Display Video On Website

Dec 27, 2010

Our customer has several security cameras at their site. These cameras transmit rtmpe streams that can be accessed by using the proper url. The video itself is flv. What the customer want is the ability to view these cameras on a website, both from internet explorer, and windows mobile 6.5. How can we do this, is there some kind of component we can use that we simply can parse the rtmpe url to, and it will go fullscreen and show the video? We need to handle input as well, both from mouse and a remote control, and we planned to use javascript for that. But for now, our biggest concern is how to play the stream.

View 1 Replies

VS 2010 - Formview Value For Website Registration

Jun 23, 2010

I am using a Formview for a simple website registration. When someone clicks insert, I need to grab the email value from the formview and send an email. Can someone tell me how to get the value of the EmailTextBox TextBox item from the formview when someone hits the insert button please? I am using VS2010, VB.

View 4 Replies

How The Default Website In VWD 2010 Works

Jul 6, 2010

Ok, this might sound as a silly question, but I am a newbie without experience, and I am curious how stuff works, I am not for the "just works".

The default website generated by VWD2010 is documented somewhere? I searched in MSDN but no luck.

If i understand how it works, it would be better, to understand how login is implemented, the master page, and so on.

View 2 Replies

Configuration :: Website Deployment From VS 2010?

Dec 12, 2010

In VS 2010 I have created an ASP.NET website. When I press the green play button {Debug} the site runs on my local server fine with no errors at all.

Finally I was happy with the site, so I went and purchased Windows Shared Hosting. I got all the details ..etc

Then in VS 2010 I right-clicked on the solution and choose Publish Website. I enetered my ftp details .. it asked me for username and pass < I provided those and clicked OK.

All seemed fine ! the files transfered over to the server ..etc But for some reason I now get errors !

View 13 Replies

VS 2010 - Scraping Website That Uses Ajax

Nov 19, 2011

We have a site that was scraping a site to gather all models available of a product. The 3rd party site recently changed the website so it now uses ajax for users to select the manufacturer and then once they select that it loads a dropdown with products using ajax.

I currently was using httpwebrequest for all requests (see below).

Code:
Public Function fnRequest(ByVal sPOSTData As String, Optional ByVal bAutoRedirect As Boolean = False) As String
Dim uriSite As Uri
Dim sReturn As String
Dim srReader As StreamReader
Dim sTemp As String

[Code] ....

Now in fiddler the post appears to be done with ajax. I tried to send the post data the normal way but it didn't like that. Any example of how to do this? To get an idea go to [URL] ... and see Mount finder and select Projector.

View 5 Replies

VS 2010 - How To Add (Flip Counter) To Website

Aug 23, 2012

I tried to add the filp Counter To My WebSite To Count The Number Of Visitors Using (Css,Jquery,Js)...

This Is The Link Of Tutorial [URL] ....

View 9 Replies

VS 2010 - Modify Menu On Website

May 8, 2012

I'm adding a shopping cart and catalog to my website and so I want to modify the menu. I was going to add a second menu right below the present menu so I would have two horizontal lines of items in the two menus. I added a second menu and a second sitemap with a different name and a second SiteMapDataSource(SiteMapDataSource2). When I test, the second menu uses the first sitemap. I don't see how to get SiteMapDataSource2 to use my new sitemap which I have named WebP.sitemap.

I could add to the items in the first sitemap but I have 5 items displaying horizontally and I wanted to start a new line. I don't see how to format it if there is a way to get a maximum of 5 items on the top line and then a new line of horizontal items.

View 2 Replies

VS 2010 - Where To Put Website On A Dedicated Server

Nov 7, 2014

The thing is Im going to upload a website to a server. I usually do this to a webhost, but this time there is none so I just have the server.What do I need to do? Must I do something with IIS? .NET? And, where do I actually put the file structure?

View 2 Replies

VS 2010 - Get Information About Visitors To Website

Sep 27, 2011

I just created a download counter on my website that increments when a download link is clicked. It also records the times of the downloads in a database. Along with that I was wondering if I could gather some general information about location of the visitor to my website that clicked the download link. Is there a way to do that? Maybe you're not supposed to try to get overly specific data because that would be a sort of invasion of privacy but if I could collect something that would tell me an approximate location of the visitor to my website that clicked the download link that would be nice if that can be gotten without too much trouble.

View 7 Replies

MVC :: Website Keep That Updating Every Time?

Oct 4, 2010

i m preparing a website based on asp.net forums .i have made all the forms reg., login , etchow to get the main grid which is on forums page.how to keep that updating every time.

View 2 Replies

Only One Person At A Time Can See Website

Aug 9, 2011

I have a web site published to a Windows 2008 R2 server running IIS 7.5. The web site accesses a SQL 2008 database on a different server. The web site is accessed from an intranet.

In global.aspx users are logged in by retrieving their Windows.Identity which is passed to a stored procedure that checks they have rights to access the system. All the people trying to access the system have rights to the system and if I run the stored procedure with their various Windows.Identities passed as the parameter - it returns that they are authorized.

I have admin rights on the web server. If I browse the site from my box it works okay. If another user who has admin rights on the server browses the site (at the same time as me - or on their own) it works okay.

If someone without admin rights to the server browses the site - and they are the only person 'on' the site - it works okay. If a second person tries to browse the site at the same time as the first person is logged in ... nothing happens. The progress bar in the browser just sits there forever. No errors etc.

So, no-one using the site ... Fred types http://server1/system1/ into his browser and the site works okay.

Jim types http://server1/system1/ into his browser and nothing happens.

Fred logs off and Jim tries the site again. Works fine for Jim this time.

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved