Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can you give an example of what might be best suited to
place in the Application_Start and Session_Start subroutines?

Answer Posted / guest

I am takeing an example for "online shopping website".We
have two options for customers (like Guest and register
users) to buy a product.
1.By default we have to show guest as one user.
2.Register user who are sigined in it.
3.Also i need to display how many uesrs are online.
There are some points to remmber:
1.How can i maintain Guest user to whole app.
2.how to maintain how many uesrs are online.
Application_Start:this event is used to declare global
variables.
Application["User"]="Guest";
Session_Start:This event is used to count how many no of
users are online.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define domestic architecture artifacts? : Dot net architecture

907


can u give me real example of how web.config overrides the machine.config file?

1796


Use of Enable view state ? if turn off what happen ?

4485


Explain the difference between primary & secondary storage device? : Dot net architecture

961


Explain pipelining? : .NET Architecture

967


Explain .net mobile automatic paging? : Microsoft dot net mobile

934


difference between Response.write,server.transfer and also which one is used when ?

1929


What happens when you try to update data in a dataset in .net while the record is already deleted in sql server as backend?

987


What are library functions?

953


What is Object Caching in Visual Studio 2010?

1003


When do I need to use gc.keepalive?

1070


What is the cli? Is it the same as the clr?

954


How do I stop a thread?

965


Explain cache? : Dot net architecture

1000


What are the main Tools to develop .Net Application?

964