How do you pass session values from one page to another ?

Answer Posted / hari

Get the value from Login Page where the Session Iniciated Like

Sesstion["UserID"]

and you may use this value on another page

Like

EnteredBy=Convert.Toint64(Session["UserID"])

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is caching? What are different ways of caching in asp.net?

667


Explain the difference between debug.write and trace.write? When should each be used?

564


What is the difference between session object and application object?

596


Why should i prefer JSP over asp.net or any other web development language..??

1449


How to set the pane area to transparent of a scrollPane component.?

573






How does session work?

513


How you can add an event handler?

579


Explain cookies with example.

562


Explain the difference between debug.write and trace.write?

540


Can we use MSSql as backend in asp.net...if yes then How.?

585


Can you nest updatepanel within each other?

556


What is the meaning of TestApi?

640


What happens if an ASP.NET server control with event-handling routines is missing from its definition?

606


How would you turn off cookies on one page of your website?

540


What are the uses of reflection?

583