.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

help me in task

Posted By: sankar     Posted Date: September 11, 2008    Points:2   Category :ASP.Net
Hi,


I have stored a datset into session in page1.


But, The task in actually when the user visited to page2 i dont want give access to session value in page2.How can i achieve this.

One more thing i have to tell is there is more than 10 pages for a session.



Thanx..............................

Responses
Author: Amit Mehra             
Posted Date: September 11, 2008     Points: 5   

Hi,
Session will be accessed thought out the application and you can not restrict it however you can use wisely in your situation. Why do you need to restrict? Whats your exact requirment? i think instead Session you can/should use ViewState if you want in One page itself.

Thanks,
Amit
Please "Mark As Answer " if this post help you.


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend