Click here to Skip to main content
15,913,854 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hi,
can anybody tell me how to pass the value of a variable from my handler to my .aspx page?I want to pass the path of my image file to my .aspx page from .ashx page and there I want to store it to my DB.But I am unable to pass the value. Please tell me how can I get it in my .Aspx Page
Posted
Comments
F-ES Sitecore 16-Mar-15 12:23pm    
You'll need to provide some context such as what calls what and how, but it's unlikely you'll be able to do this as the ashx and aspx will be on separate requests and can't communicate to each other. You'll probably need to do the db insert in your handler, or if your ashx is called via js on an aspx page then do some work there to record the value. Without knowing more about your current setup it's hard to suggest anything specific.

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900