Click here to Skip to main content
15,400,282 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
how to solve question: my session is successfully running at a time insert record in other table?

jyare buy button pr click kriye tyare check kravvanu k session 6e k session hoi to sells table ma entry thai jvi joiye.
Updated 20-Dec-12 1:20am
Mohd. Mukhtar 20-Dec-12 7:12am
Not clear??
Please specify more about the question.
[no name] 20-Dec-12 7:15am
Elaborate your question...
-Krunal R.
[no name] 20-Dec-12 7:17am
Still not clear....
kishore Rajendran 20-Dec-12 7:30am
yes..please explain more
Sachin Gargava 20-Dec-12 7:32am
what you want please write more clear or write something more about your requirement.
Jibesh 20-Dec-12 7:44am
This is an English site. please do not use non-english texts.
[no name] 20-Dec-12 9:53am
as per your non-english language I can guess that its Hindi. Don't use non-english text.

1 solution

You can check your session variable is holding some value or not by using:-
if(Session["UserName"]!= null)
   //Add entry to Sells table
   // Your logic if the session variable is null.

Hope above statements help you.

(FYI, as Jibesh mentioned Please dont write non-english texts here.)
And Clearly state your problem.

[Edit]Code block added[/Edit]

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